use of comma & semi colon
4 ビュー (過去 30 日間)
古いコメントを表示
Please explain the meaning of below command in matlab
A(1, 1:9) = [ 30, 25, 16, 32, 15, 37, 18, 3, 10,]
0 件のコメント
採用された回答
Guillaume
2020 年 3 月 5 日
You're asking a very basic question. 5 minutes with any tutorial would have answered it. We recommend that you go through the free matlab onramp to learn the basics of matlab.
4 件のコメント
Guillaume
2020 年 3 月 18 日
bar([a; b].'); %vertically concatenate the two vector and transpose so they're in columns
その他の回答 (1 件)
KSSV
2020 年 3 月 5 日
That means....in the matrix A in the first row (1) the columns one to 9 are filled with [ 30, 25, 16, 32, 15, 37, 18, 3, 10,].
If you want only single array..can be used:
A = [ 30, 25, 16, 32, 15, 37, 18, 3, 10] ;
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!