Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

3D image

Status
Not open for further replies.
Replies continue below

Recommended for you

A simple matlab variable can not be a 3-D matrix:
a = [2 3 5 6
3 2 1 0];
is the best it can do, but it is still a 2-D matix.
What I would do:
a=[1 2
3 4];
b=[5 6
7 8];
vv.a=a; vv.b=b;
RESULT:
vv =

a: [2x2 double]
b: [2x2 double]

(<1X1> STRUCTARAL ARRAY) - check in the Workspace Window
Anybody with less-clumsy suggestions?
 
Status
Not open for further replies.
Back
Top