Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: please help
Date: Mon, 15 Dec 2008 15:45:03 +0000 (UTC)
Organization: Helbling Technik Bern AG
Lines: 20
Message-ID: <gi5u1v$1fm$1@fred.mathworks.com>
References: <1164883.1229353679039.JavaMail.jakarta@nitrogen.mathforum.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229355903 1526 172.30.248.37 (15 Dec 2008 15:45:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 15 Dec 2008 15:45:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1271984
Xref: news.mathworks.com comp.soft-sys.matlab:507106


steward <s_eagle1978@yahoo.com> wrote in message <1164883.1229353679039.JavaMail.jakarta@nitrogen.mathforum.org>...
> Ok, here is the problem:
> this code takes 6 integrals and it gives 6 results and I make them a 3 by 3 W matrix and I evaluate the eigenvalue. up to this point everything is ok.
> But when I try to contourplot the eigenvalue and when I enter the theta and phi values then the 3 by 3 W matrix becomes a huge matrix and it doesn't evaluate the eigenvalue.
> How can I contourplot W?

first, iif you can make a 3x3 matrix out of 6 results, you're VERY good. I personnally am not capable of this.

Then, what did you do to plot your contour?

i'd say that:

lambda=eig(W);
contour(X,Y,W,[lambda lambda])

would do. It has no reason to modify the W matrix.

Then, making a contour plot on a 3x3 matrix is somewhat questionable, but that's another problem.