How to create matrix from another matrix?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi all. I have m(80x200) matrix. I want to take first 41 values from each column and create n(41x200) matrix. Do I need for loop for this?
0 件のコメント
採用された回答
Azzi Abdelmalek
2016 年 5 月 14 日
編集済み: Azzi Abdelmalek
2016 年 5 月 14 日
You want the first 41 rows of your matrix
A(1:41,:)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!