Error using reshape To RESHAPE "the number of elements must not change"
1 view (last 30 days)
Show older comments
Mostfa Abd El-Aziz
on 5 Jan 2019
Commented: Mostfa Abd El-Aziz
on 7 Jan 2019
![1.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200237/1.jpeg)
3 Comments
Walter Roberson
on 6 Jan 2019
You tried everything except telling us what size(CH) is and what size(bICH5) is.
Accepted Answer
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.
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!