numerical derivate and central difference

57 visualizaciones (últimos 30 días)
payam abubakr
payam abubakr el 10 de Mayo de 2020
Editada: Muhammad Hammad Malik el 14 de Feb. de 2021
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 comentarios
Ameer Hamza
Ameer Hamza el 10 de Mayo de 2020
This seems like a homework question. What have you already tried?
payam abubakr
payam abubakr el 10 de Mayo de 2020
i have tried nothing because i don't knoe how to start.
appreciate your help

Iniciar sesión para comentar.

Respuestas (1)

Jim Riggs
Jim Riggs el 10 de Mayo de 2020
Editada: Jim Riggs el 10 de Mayo de 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 comentarios
payam abubakr
payam abubakr el 12 de Mayo de 2020
thank you
Muhammad Hammad Malik
Muhammad Hammad Malik el 14 de Feb. de 2021
Editada: Muhammad Hammad Malik el 14 de Feb. de 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

Iniciar sesión para comentar.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by