converting a 3d data into 2d

hi all,
I had a 3d array <1x1x146226> I want to convert this array into <1x146226> to plot it. Can anyone tell me how to do it.
Thanks and humble Regards

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 25 May 2015
Edited: Azzi Abdelmalek on 25 May 2015
if a is your array
out=a(:)'
You can also use reshape for more general cases

Categories

Community Treasure Hunt

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

Start Hunting!