How to create matrix from another matrix?
2 次查看(过去 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!