Re: Interpolating the Intersection of Surface & Plane
- From: John D'Errico <woodchips@xxxxxxxxxxxxxxxx>
- Date: Sun, 28 May 2006 02:24:39 GMT
In article <ef37f7e.-1@xxxxxxxxxxxxxxxxxxxxxxx>, JP <philNOSPAMsonj@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Suppose I have a surface (take peaks for example), and now I also
have a line segment in my space that defines a portion of a plane
that is parallel with the z-axis (the line segment above/below peaks
and a vector parellel to the z-axis are used to define the "plane
segment").
Now this "plane segment" can cut through my peaks surface at any
angle in the xy plane, and it defines a curve.
Question: What is the best way (or any way) to interpolate z-values
along this curve (either as a function of xy or as a parameter 't')?
I was looking into using griddata but it seemed like overkill and
looked like I would probably take a performance hit.
Use contour (or contourc.)
If your plane is not the traditional one that is
perpendicular to the z axis, then rotate the surface
so it is.
HTH,
John D'Errico
--
The best material model of a cat is another, or preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945
Those who can't laugh at themselves leave the job to others.
Anonymous
.
- References:
- Prev by Date: Re: DFT discrete fourier trasform
- Next by Date: Remove leading spaces from strings
- Previous by thread: Re: Interpolating the Intersection of Surface & Plane
- Next by thread: .mat file manipulation
- Index(es):
Relevant Pages
|