reshaping matrix with odd number of total elements
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
klb
el 28 de Oct. de 2018
Comentada: klb
el 28 de Oct. de 2018
how can I reshape a 63X5 matrix (315 elements) into a mX2 , and a mX4 matrix?
2 comentarios
Walter Roberson
el 28 de Oct. de 2018
If the data were in the order
A1 B1 C1 D1 E1
A2 B2 C2 D2 E2
A3 B3 C3 D3 E3
and so on, then what would be the desired output order?
Respuesta aceptada
Más respuestas (1)
Bruno Luong
el 28 de Oct. de 2018
You can't
1 comentario
Walter Roberson
el 28 de Oct. de 2018
At least not without either discarding elements or padding with something.
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices 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!