Built-in function diff - methodology
古いコメントを表示
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!
採用された回答
その他の回答 (2 件)
Jan
2012 年 4 月 3 日
0 投票
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
2012 年 4 月 3 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!