How to return from reshape function?
1 view (last 30 days)
Show older comments
jack star
on 19 Apr 2016
Edited: Azzi Abdelmalek
on 19 Apr 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?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 19 Apr 2016
Edited: Azzi Abdelmalek
on 19 Apr 2016
y=rand(24000,1)
x=reshape(y,150,160)
out=x(:)
0 Comments
More Answers (0)
See Also
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!