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

1 visualizzazione (ultimi 30 giorni)
I want the vector to go from 0 to 15 while stepping 5 the vector should output shoulb be [0 5 10 15]

Risposte (1)

Steven Lord
Steven Lord il 18 Mag 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.

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by