jeffpr
Materials
- Jul 10, 2005
- 2
I'm having a bit of trouble with arrays and matrices in matlab. I want to use the isosurface command to compute the isosurface data from a series of (x,y,z) coordinates I have.
The problem is when I try to use the command, it says that it expects a 3 dimensional array, but my data it is the form:
x y z
which can be specified by an appropriate column and row, so my data is stored in an m x n matrix. The data set specifies about 700,000 points on a 220x220x220 cube, outlining a figure inside the cube. Can somebody help me to convert the matrix into a 3D array or tell me what I have to do to my data set in order to use the isosurface command.
Regards,
Jeffpr
The problem is when I try to use the command, it says that it expects a 3 dimensional array, but my data it is the form:
x y z
which can be specified by an appropriate column and row, so my data is stored in an m x n matrix. The data set specifies about 700,000 points on a 220x220x220 cube, outlining a figure inside the cube. Can somebody help me to convert the matrix into a 3D array or tell me what I have to do to my data set in order to use the isosurface command.
Regards,
Jeffpr