How to create matrix from another matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
jack star
am 14 Mai 2016
Bearbeitet: Azzi Abdelmalek
am 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 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 14 Mai 2016
Bearbeitet: Azzi Abdelmalek
am 14 Mai 2016
You want the first 41 rows of your matrix
A(1:41,:)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!