Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

3D image

Status
Not open for further replies.

novellino

Computer
Feb 22, 2006
1
Hi ,
how can I read a 3D image in matlab and save it in a 3D matrix?
Thanks
 
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.

Part and Inventory Search

Sponsor