How to create matrix from another matrix?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
jack star
le 14 Mai 2016
Modifié(e) : Azzi Abdelmalek
le 14 Mai 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 commentaires
Réponse acceptée
Azzi Abdelmalek
le 14 Mai 2016
Modifié(e) : Azzi Abdelmalek
le 14 Mai 2016
You want the first 41 rows of your matrix
A(1:41,:)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements 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!