Azzera filtri
Azzera filtri

How to return from reshape function?

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 19 Apr 2016
Modificato: Azzi Abdelmalek il 19 Apr 2016
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)

Più risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by