How to create matrix from another matrix?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
jack star
il 14 Mag 2016
Modificato: Azzi Abdelmalek
il 14 Mag 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 Commenti
Risposta accettata
Azzi Abdelmalek
il 14 Mag 2016
Modificato: Azzi Abdelmalek
il 14 Mag 2016
You want the first 41 rows of your matrix
A(1:41,:)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!