5 point differentation in Matlab

63 visualizzazioni (ultimi 30 giorni)
Usman
Usman il 4 Set 2012
Commentato: Star Strider il 28 Ott 2022
Hi,
Can anyone please guide me as to how to perform 5 point differentiation n Matlab, what does 5 point differentiation mean?
Thanks
  7 Commenti
Matt Tearle
Matt Tearle il 5 Set 2012
Usman, note the tags that have been added... See what the tutorial says about those...
You asked what 5-pt differentiation means, and Matt showed that a quick search will provide the answer. As to implementing it in MATLAB, maybe you should provide a starting point so that we can help you. Otherwise, it looks a bit like you expect random volunteers on the internet to do your work/homework for you.
Usman
Usman il 5 Set 2012
Spostato: Rik il 28 Ott 2022
Thanks alot friends. but i certainly did google the term matlab implementation of 5 point difference and go no satisfactory result. that is why i came over here to help. if you think i want free volunteers to do my work for me, its better you dont reply back to the answer instead of passing senseless comments

Accedi per commentare.

Risposta accettata

Star Strider
Star Strider il 5 Set 2012
Modificato: Rik il 28 Ott 2022
Here are a couple links that explain it about as clearly as possible:
Numerical differentiation formulas (Gives an example using a 4-point first derivative)
and:
Note that if f(x) is the function you are differentiating (here the numerical data you have), h is the step size, that is:
h = x(k + 1) - x(k);
I have experimented with the algorithm for the 5-point first derivative. It is easy to implement, accurate, and reasonably precise.
  3 Commenti
Rik
Rik il 28 Ott 2022
I edited the links to point to the Wayback Machine from around the time of the post. The current version of the website seems to result in a browser warning and a 404.
Star Strider
Star Strider il 28 Ott 2022
@Rik — Thank you!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by