Create a vector (1,25) with values increasing from 0-24
1 次查看(过去 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!