How can i display a vector on Matlab that does the follwing

2 次查看(过去 30 天)
I want the vector to go from 0 to 15 while stepping 5 the vector should output shoulb be [0 5 10 15]

回答(1 个)

Steven Lord
Steven Lord 2022-5-18
I suspect this may be part of a homework assignment so I'm not going to give you the answer. But I believe the section on "Vectors and Matrices" in the free MATLAB Onramp tutorial covers that topic.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by