How do I make a 3 dimensional matrix?

回答(1 个)

How about one of these
array3d = zeros(2,3,4);
array3d = ones(2,3,4);
array3d = rand(2,3,4);

Community Treasure Hunt

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

Start Hunting!

Translated by