How to create matrix from another matrix?
1 view (last 30 days)
Show older comments
jack star
on 14 May 2016
Edited: Azzi Abdelmalek
on 14 May 2016
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 Comments
Accepted Answer
Azzi Abdelmalek
on 14 May 2016
Edited: Azzi Abdelmalek
on 14 May 2016
You want the first 41 rows of your matrix
A(1:41,:)
0 Comments
More Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!