numerical derivate and central difference
61 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
can anyone help me with this function, please?
find numerical derivative of f(x) = tan−1(?) at x = 2 using central difference scheme where is x is in radians. Use different values of step size h in central difference scheme and compare with true value of the derivative by plotting error for the different h. f(x) means function of x.
2 commentaires
Réponses (1)
Jim Riggs
le 10 Mai 2020
Modifié(e) : Jim Riggs
le 10 Mai 2020
Here are some Numerical difference formulas using the central difference method (substitute dt = h).
You can find more formulas with even higher accuracy on wikipedia. (see "numerical differentiation" and also "finite difference coefficient"
4 commentaires
Muhammad Hammad Malik
le 14 Fév 2021
Modifié(e) : Muhammad Hammad Malik
le 14 Fév 2021
@Jim Riggs @payam abubakri also want to calculate gradient(central difference) with window size=10smples with 50% overlap to previous window using attached equation.could you pls help. Thanks
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!