65 698
Assignments Done
99,2%
Successfully Done
In October 2018

# Answer to Question #52347 in MatLAB | Mathematica | MathCAD | Maple for Ray

Question #52347
Create two multi-dimensional arrays:
- a 10 x 10 x 10 numerical array (3-D) and
- a 5 x 5 x 5 x 5 numerical array (4-D)

where each value in each array corresponds to the multiplication of its indices.
&nbsp;
a) a 10 x 10 x 10 numerical array (3-D)
for i=1:1:10
&nbsp;&nbsp;&nbsp; for j=1:1:10
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fork=1:1:10
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M(i,j,k)=i*j*k;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end
&nbsp;&nbsp;&nbsp; end
end
M
&nbsp;
b) a 5 x 5 x 5 x 5 numerical array (4-D)
&nbsp;
for i=1:5
&nbsp;&nbsp;&nbsp; for j=1:5
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fork=1:5
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fort=1:5
&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D(i,j,k,t)=i*j*k*t;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end
&nbsp;&nbsp;&nbsp; end
end
D

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!