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);

类别

在 帮助中心 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by