How to Convert 3d matrix to row matrix???
2 次查看(过去 30 天)
显示 更早的评论
I have a 3d matrix in the workspace variable named WT.dec{1,1}, I need it to be converted to single dimention row matrix. How can do this???
0 个评论
采纳的回答
更多回答(1 个)
Vladimir Sovkov
2020-4-8
a=rand(2,2,2) % a sample 3D matrix a
b=a(:)' % is turned to the 1D row matrix b
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!