Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

data sets in matlab

Status
Not open for further replies.

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
 
Replies continue below

Recommended for you

I suspect that this is the same sort of issue that occurs when you want to do a mesh plot of unequally spaced data. I suggest you read the "help" information for that problem to give you some clues to your problem.

M

--
Dr Michael F Platten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor