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

1 Ansicht (letzte 30 Tage)
1.JPG
  3 Kommentare
Mostfa Abd El-Aziz
Mostfa Abd El-Aziz am 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 am 6 Jan. 2019
You tried everything except telling us what size(CH) is and what size(bICH5) is.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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 Kommentar
Mostfa Abd El-Aziz
Mostfa Abd El-Aziz am 7 Jan. 2019
Thanks Dear Image Analyst
The Error Solved
The Error Was In My input Image Type
Thanks For your Reactive

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Cell Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by