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

1 visualización (últimos 30 días)
Mahmoud Chawki
Mahmoud Chawki el 18 de Mayo de 2022
Respondida: Steven Lord el 18 de Mayo de 2022
I want the vector to go from 0 to 15 while stepping 5 the vector should output shoulb be [0 5 10 15]

Respuestas (1)

Steven Lord
Steven Lord el 18 de Mayo de 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.

Categorías

Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by