Error using reshape To RESHAPE the number of elements must not change.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Andi Juwandi Karmita
el 27 de Dic. de 2016
Respondida: alok dhaundiyal
el 17 de Nov. de 2020
please help me. how to fix it ?
0 comentarios
Respuestas (2)
KSSV
el 27 de Dic. de 2016
When you try to reshape a given matrix into another matrix, the total number of elements should not change, if not it will throw an error. In your case check numel(y) and xb*64 they must be equal for successful reshape.
4 comentarios
Image Analyst
el 30 de Dic. de 2016
Attach both your .mat file and your .m file with the paper clip icon so we can debug it for you. http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/
Ver también
Categorías
Más información sobre Embedded Coder 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!