Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
please help

Subject: please help

From: steward

Date: 15 Dec, 2008 15:07:28

Message: 1 of 2

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?

Subject: please help

From: Gavrilo Bozovic

Date: 15 Dec, 2008 15:45:03

Message: 2 of 2

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.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us