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?

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 19 日
編集済み: Azzi Abdelmalek 2016 年 4 月 19 日

0 投票

y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by