How to return from reshape function?
조회 수: 13 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2016년 4월 19일
편집: Azzi Abdelmalek
2016년 4월 19일
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!