Built-in function diff - methodology
4 Ansichten (letzte 30 Tage)
Ä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!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Jan
am 3 Apr. 2012
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!