creating a 10 x 1 matrix that counts

18 Ansichten (letzte 30 Tage)
vedesh Mohit
vedesh Mohit am 7 Apr. 2018
Beantwortet: KSSV am 7 Apr. 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?

Akzeptierte Antwort

KSSV
KSSV am 7 Apr. 2018
iwant = 0:9 ;

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by