フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How does one differentiate in matlab

1 回表示 (過去 30 日間)
Abhey Pal Singh Kumar
Abhey Pal Singh Kumar 2018 年 5 月 14 日
閉鎖済み: Abhey Pal Singh Kumar 2018 年 5 月 14 日
How does one differentiate and plot in matlab

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 5 月 14 日
編集済み: Ameer Hamza 2018 年 5 月 14 日
diff() decrease the number of elements in a vector by one. You also need to exclude one element of vector x to make them of equal length.
plot(x(2:end), v) % or
plot(x(1:end-1), v)

その他の回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by