creating a 10 x 1 matrix that counts

20 visualizaciones (últimos 30 días)
vedesh Mohit
vedesh Mohit el 7 de Abr. de 2018
Respondida: KSSV el 7 de Abr. de 2018
Hey i want to create a 10 x 1 matrix with the values 0 to well 9 in it. So basically it does a count. I want to get x=[0;1;2;3;4;5;6;7;8;9]; Any help?

Respuesta aceptada

KSSV
KSSV el 7 de Abr. de 2018
iwant = 0:9 ;

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by