Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Considering a 3D matrix. How to delete the first column of the first matrix, the second column of the second matrix, the third column of the third matrix and so on.

1 Ansicht (letzte 30 Tage)
% Considering 3D matrix of dimension n
n=3;
for a=1:n
for b=1:n
for c=1:n
A(b,c,a)=c;
end
end
end
  1 Kommentar
Walter Roberson
Walter Roberson am 21 Nov. 2017
Duplicates https://www.mathworks.com/matlabcentral/answers/368240-considering-a-3d-matrix-how-to-delete-the-first-column-of-the-first-matrix-the-second-column-of-th

Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by