Filter löschen
Filter löschen

How to return from reshape function?

1 Ansicht (letzte 30 Tage)
jack star
jack star am 19 Apr. 2016
Bearbeitet: Azzi Abdelmalek am 19 Apr. 2016
Hi all. I reshaped my data matrix y(24000x1) like this:
x=reshape(y,150,160);
I changed some datas of x and I want to return it to y(24000x1). Is there any code to do that?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 19 Apr. 2016
Bearbeitet: Azzi Abdelmalek am 19 Apr. 2016
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation 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