How to return from reshape function?

조회 수: 13 (최근 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 CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by