Thread Closed

surface cut function in matlab?

 
Share Thread Thread Tools
Oct28-07, 02:10 AM   #1
 

surface cut function in matlab?


there're functions in matlab to plot a 2-D matrix as a surface.
not supposing the surface is like a paraboloid, is there a function to cut it at a particular plane to observe the contour?
any suggestions for the same would be appreciated.
thanks.
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Hong Kong launches first electric taxis
>> Morocco to harness the wind in energy hunt
>> Galaxy's Ring of Fire
Oct28-07, 11:01 AM   #2
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
If you have a matrix and are plotting in 3-d, just plot the rows you wish to see in 2-d. It is the same as a planar cut.
 
Oct29-07, 02:04 AM   #3
 
well, actually not all points on a planar cut belong to the same row of the matrix..
i hope u get what i mean. the resultant structure takes a definite shape like a paraboloid for example but the contours when viewed from the bottom arent circles.
is this too complicated for a planar cut in a desired direction?
 
Oct29-07, 09:02 PM   #4
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor

surface cut function in matlab?


OK, I see what you need. I would try to do a 2-d interpolation, then plot the points you want to look at i.e. [itex] z_i =f(x_i,y_i) [/itex]. You should be able to get the cut you want.
 
Oct29-07, 09:06 PM   #5
 
Quote by Dr Transport View Post
OK, I see what you need. I would try to do a 2-d interpolation, then plot the points you want to look at i.e. [itex] z_i =f(x_i,y_i) [/itex]. You should be able to get the cut you want.
how do u do the 2-d interpolation?
actually, to be more clear what i need is a 2-d projection(x-y projection) of the 3-d surface, with contours corresponding to same z(height).
 
Thread Closed
Thread Tools


Similar Threads for: surface cut function in matlab?
Thread Forum Replies
Matlab function Math & Science Software 2
MATLAB: 3D plots- How to plot 3D lines rather than surface? Math & Science Software 2
Surface Plot in Matlab (Cylindrical Coordinates) Math & Science Software 1
Matlab mex-function Math & Science Software 0
Matlab function HW help please Math & Science Software 1