creating a 10 x 1 matrix that counts

18 ビュー (過去 30 日間)
vedesh Mohit
vedesh Mohit 2018 年 4 月 7 日
回答済み: KSSV 2018 年 4 月 7 日
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?

採用された回答

KSSV
KSSV 2018 年 4 月 7 日
iwant = 0:9 ;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by