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

1 view (last 30 days)
Mahmoud Chawki
Mahmoud Chawki on 18 May 2022
Answered: Steven Lord on 18 May 2022
I want the vector to go from 0 to 15 while stepping 5 the vector should output shoulb be [0 5 10 15]

Answers (1)

Steven Lord
Steven Lord on 18 May 2022
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.

Community Treasure Hunt

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

Start Hunting!

Translated by