How to get from a array to a vector
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Jan
2021 年 3 月 19 日
Vectors are arrays.
Your code does not use iter_h anywhere. It can be simplified to:
n = 10;
x = rand(n, 1);
h = diff(x);
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!