Error using reshape To RESHAPE the number of elements must not change.

8 views (last 30 days)
please help me. how to fix it ?

Answers (2)

KSSV
KSSV on 27 Dec 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 Comments
Andi Juwandi Karmita
Andi Juwandi Karmita on 30 Dec 2016
I can not seem to find it . Can you give the exact answer sir? thanks before

Sign in to comment.


alok dhaundiyal
alok dhaundiyal on 17 Nov 2020
Can we not use Identity matrix to rescale it?

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!