converting a 3d data into 2d
8 次查看(过去 30 天)
显示 更早的评论
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
采纳的回答
Azzi Abdelmalek
2015-5-25
编辑:Azzi Abdelmalek
2015-5-25
if a is your array
out=a(:)'
You can also use reshape for more general cases
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!