How to return from reshape function?

9 ビュー (過去 30 日間)
jack star
jack star 2016 年 4 月 19 日
編集済み: Azzi Abdelmalek 2016 年 4 月 19 日
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 日
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Math についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by