how to select first 23 rows and 25 columns from a 25 X 25 matrix in matlab
38 次查看(过去 30 天)
显示 更早的评论
access a matrix from another matrix which is having sifferent dimension. i.e how to select first 23 rows and 25 columns from a 25 X 25 matrix in matlab
0 个评论
采纳的回答
Grzegorz Knor
2013-8-30
a = rand(25);
b = a(1:23,:);
2 个评论
Jan
2013-8-30
@Nirmala: Such fundamental questions are explained exhaustively in the Getting Started chapters of the documentation. It is recommended to read them carefully, because a forum cannot teach all these basics.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!