Re: implicit plot ??
- From: "Roger Stafford" <ellieandrogerxyzzy@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 22:44:02 +0000 (UTC)
pluton <plutonesque@xxxxxxxxx> wrote in message
<82d95ebd-4736-4f15-bbe5-
ad11c70497ea@xxxxxxxxxxxxxxxxxxxxxxxxxxx>...
Hi all,-----------
let say I have the follwing problem :
for p=1:100
for q=1:100
X(p,q)=0.01*p;
Y(p,q)=0.02*q;
M(X,Y) % M : matrix depending on the current value of X and
Y but not explained here
K(X,Y) % K : matrix depending on the current value of X and
Y but not explained here
[D]=eig(K,M);
Z(q,p)=max(real(D));
end
end
surf(X,Y,Z);
I then end up with a surface. How is it possible to simply plot the
intersection
of this surface with the plane Z=0 ?
Thank you,
Pluton
You have puzzled me, Pluton. From what you have shown us, it looks as
though you are using 'eig' inside the for-loops to compute the generalized
eigenvectors and eigenvalues of K and M before their computation is finished.
Am I wrong?
Perhaps you have better explain what you are trying to do in a little more
detail.
Roger Stafford
.
- References:
- implicit plot ??
- From: pluton
- implicit plot ??
- Prev by Date: Re: using surf
- Next by Date: Re: imcrop
- Previous by thread: implicit plot ??
- Next by thread: Re: implicit plot ??
- Index(es):