Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How does one differentiate in matlab
1 回表示 (過去 30 日間)
古いコメントを表示
Abhey Pal Singh Kumar
2018 年 5 月 14 日
閉鎖済み: Abhey Pal Singh Kumar
2018 年 5 月 14 日
How does one differentiate and plot in matlab
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!