How can I stack multiple Matrices in 1 2D matrix?
2 次查看(过去 30 天)
显示 更早的评论
I have a 3D Matrix (96,35,43)
I want to change it to (3360,43) so that each 35x43 matrix is below the previous
How can I do this?
0 个评论
回答(1 个)
the cyclist
2016-1-12
% Your original data:
x = rand(96,35,43);
% Reshaped as you want
xr = reshape(permute(x,[1 3 2]),3360,43);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!