How do I make a 3 dimensional matrix?

2 views (last 30 days)
Anna
Anna on 7 Aug 2014
Answered: Image Analyst on 7 Aug 2014
nothing more to add to the question!

Answers (1)

Image Analyst
Image Analyst on 7 Aug 2014
How about one of these
array3d = zeros(2,3,4);
array3d = ones(2,3,4);
array3d = rand(2,3,4);

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!