Effacer les filtres
Effacer les filtres

How to return from reshape function?

1 vue (au cours des 30 derniers jours)
jack star
jack star le 19 Avr 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?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 19 Avr 2016
Modifié(e) : Azzi Abdelmalek le 19 Avr 2016
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)

Plus de réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by