Built-in function diff - methodology
Ältere Kommentare anzeigen
Hi,
What methodology is used in "diff"? Does it take forward or central differences, and what is the step? How can I check the source code?
Thanks in advance!
Akzeptierte Antwort
Weitere Antworten (2)
Jan
am 3 Apr. 2012
0 Stimmen
You cannot check the code of DIFF, because it is a built-in function. As Jonathan has said already, reading the doc will reveal the internal method. It is the difference of subsequent elements.
Dessislava Koleva
am 3 Apr. 2012
0 Stimmen
2 Kommentare
Jan
am 3 Apr. 2012
I guess you are looking for GRADIENT.
Dessislava Koleva
am 3 Apr. 2012
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!