how to select first 23 rows and 25 columns from a 25 X 25 matrix in matlab
52 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Grzegorz Knor
on 30 Aug 2013
a = rand(25);
b = a(1:23,:);
2 Comments
Jan
on 30 Aug 2013
@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.
More Answers (0)
See Also
Categories
Find more on Logical 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!