Error using reshape To RESHAPE the number of elements must not change.
조회 수: 4 (최근 30일)
이전 댓글 표시
please help me. how to fix it ?


댓글 수: 0
답변 (2개)
KSSV
2016년 12월 27일
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
Image Analyst
2016년 12월 30일
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/
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!