Create a vector (1,25) with values increasing from 0-24
9 ビュー (過去 30 日間)
古いコメントを表示
i dont understand what i need to do hee i just wante to ask if i am doing this part correectly by doing this
Time= 1:5:24;
2 件のコメント
Walter Roberson
2023 年 12 月 9 日
If you had a vector that was the integers 1, 2, 3, 4, ... 25... then subtract 1.
DGM
2023 年 12 月 10 日
採用された回答
Dyuman Joshi
2023 年 12 月 9 日
編集済み: Dyuman Joshi
2023 年 12 月 9 日
From what I understood, you want to get a row vector having 25 elements with increasing values in the range [0 24].
y = linspace(0,24,25)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!