How to create matrix from another matrix?

3 ビュー (過去 30 日間)
jack star
jack star 2016 年 5 月 14 日
編集済み: Azzi Abdelmalek 2016 年 5 月 14 日
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?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 14 日
編集済み: Azzi Abdelmalek 2016 年 5 月 14 日
You want the first 41 rows of your matrix
A(1:41,:)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by