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

1 view (last 30 days)
1.JPG
  3 Comments
Mostfa Abd El-Aziz
Mostfa Abd El-Aziz on 6 Jan 2019
Thanks To your Response Dear Walter Roberson
What Your suggestion to resolve this error i really try every thing but whithout avail
thanks alot
Walter Roberson
Walter Roberson on 6 Jan 2019
You tried everything except telling us what size(CH) is and what size(bICH5) is.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 7 Jan 2019
Looks like you want seq1 to be a row vector. So try omitting the number of columns:
seq1 = reshape(bICH5, 1, []);
Other errors will probably follow so I recommend you really try to understand what is going on rather than just applying random band-aid fixes like this.
  1 Comment
Mostfa Abd El-Aziz
Mostfa Abd El-Aziz on 7 Jan 2019
Thanks Dear Image Analyst
The Error Solved
The Error Was In My input Image Type
Thanks For your Reactive

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!