How to return from reshape function?

9 visualizaciones (últimos 30 días)
jack star
jack star el 19 de Abr. de 2016
Editada: Azzi Abdelmalek el 19 de Abr. de 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?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 19 de Abr. de 2016
Editada: Azzi Abdelmalek el 19 de Abr. de 2016
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)

Más respuestas (0)

Categorías

Más información sobre Elementary Math en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by