how to select first 23 rows and 25 columns from a 25 X 25 matrix in matlab
38 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Grzegorz Knor
le 30 Août 2013
a = rand(25);
b = a(1:23,:);
2 commentaires
Jan
le 30 Août 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!