How to create matrix from another matrix?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
jack star
el 14 de Mayo de 2016
Editada: Azzi Abdelmalek
el 14 de Mayo de 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 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 14 de Mayo de 2016
Editada: Azzi Abdelmalek
el 14 de Mayo de 2016
You want the first 41 rows of your matrix
A(1:41,:)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!