How to create matrix from another matrix?

1 次查看(过去 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?

采纳的回答

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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by