Swapping columns in a 375x91x223 variable
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have a variable called 'vol' that is 375 x 91 x 223 and I would like the output to be 375 x 223 x 91. I have previously rehaped this and used:
vol=reshape(vol,[375 91 223]); %from prior part of my code
vol(:,[2 3]) = vol(:,[3 2])
Your help would be appreciated thanks.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!