vector with spacing (predefined)
2 ビュー (過去 30 日間)
古いコメントを表示
Venkata Brahma Teja Haridasu
2021 年 4 月 18 日
編集済み: Venkata Brahma Teja Haridasu
2021 年 4 月 18 日
0 件のコメント
採用された回答
David Fletcher
2021 年 4 月 18 日
Maybe I am missing something, but this?
initial_value=-25;
step_size=5;
final_value=15;
vector=initial_value:step_size:final_value
0 件のコメント
その他の回答 (1 件)
the cyclist
2021 年 4 月 18 日
Does
v = -25:5:15
do what you want? Or maybe you meant
initial_value = -25;
step_size = 5;
final_value = 15;
v = initial_value : step_size : final_value
If neither of those is what you meant, then I don't understand.
1 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!