Do something like this
x_planes = [1 30 60]; % x-planes to keep
M = % 60x60x60x80 matrix
M_new = M*nan;
M_new(x_planes, :, :, :) = M(x_planes, :, :, :)
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!