Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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
Joined
Feb 22, 2006
Messages
1
Location
GR
Hi ,
how can I read a 3D image in matlab and save it in a 3D matrix?
Thanks
 
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

Back
Top