Question: USING MATLAB The following 3D matrix represents the six sides of a dice. Each level is a 6 x 6 matrix which shows what circles

USING MATLAB
The following 3D matrix represents the six sides of a dice. Each level is a 6 x 6 matrix which shows what circles to draw. For a dice of SIZE pixels draw the fifth layer as show below. You must use the diceValues matrix to inform which circles you choose to draw. The circles have a diameter equal to SIZE/3.
diceValues(:,:,1) = [0 0 0; 0 1 0; 0 0 0];
diceValues(:,:,2) = [1 0 0; 0 0 0; 0 0 1];
diceValues(:,:,3) = [1 0 0; 0 1 0; 0 0 1];
diceValues(:,:,4) = [1 0 1; 0 0 0; 1 0 1];
diceValues(:,:,5) = [1 0 1; 0 1 0; 1 0 1];
diceValues(:,:,6) = [1 0 1; 1 0 1; 1 0 1];
 USING MATLAB The following 3D matrix represents the six sides of

1000 900 800 700 600 500 400 300 200 100 0 200 400 600 800 1000 1000 900 800 700 600 500 400 300 200 100 0 200 400 600 800 1000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!