Thread Subject: eigenvalues

Subject: eigenvalues

From: munir

Date: 6 Nov, 2009 18:21:59

Message: 1 of 7

dear all,
i want to find eigenvalues for a dynamic problem.
but somthing is going wrong. as i m doing it first time i cant figure
it out.
when i give command as
 fsol=eig(kuufinal,muufinal)
error is
??? Error using ==> sym.eig
Too many input arguments.

and when i give as
fsol=eig(kuufinal,muufinal,qz)
error is
??? Error using ==> qz
Not enough input arguments.

what is the problem???
when i indivisually find eigenvalues of matrix it gives results.
also muufinal is not singular.
both matrices are symmetric.
plz plz help soon.....
thanks n regards.

Subject: eigenvalues

From: Wayne King

Date: 6 Nov, 2009 18:48:02

Message: 2 of 7

munir <munirpansare@gmail.com> wrote in message <d7d30128-4368-4ff6-97e4-32d1984d23d1@h14g2000pri.googlegroups.com>...
> dear all,
> i want to find eigenvalues for a dynamic problem.
> but somthing is going wrong. as i m doing it first time i cant figure
> it out.
> when i give command as
> fsol=eig(kuufinal,muufinal)
> error is
> ??? Error using ==> sym.eig
> Too many input arguments.
>
> and when i give as
> fsol=eig(kuufinal,muufinal,qz)
> error is
> ??? Error using ==> qz
> Not enough input arguments.
>
> what is the problem???
> when i indivisually find eigenvalues of matrix it gives results.
> also muufinal is not singular.
> both matrices are symmetric.
> plz plz help soon.....
> thanks n regards.
Hi, I think you need to tell us more about what you are trying to input into eig(). If you type

>>help sym/eig

it does not support two input arguments. eig() supports two input arguments but not the symbolic variant.

Hope that helps,
wayne

Subject: eigenvalues

From: Bruno Luong

Date: 6 Nov, 2009 19:17:04

Message: 3 of 7

munir <munirpansare@gmail.com> wrote in message <d7d30128-4368-4ff6-97e4-32d1984d23d1@h14g2000pri.googlegroups.com>...
> dear all,
> i want to find eigenvalues for a dynamic problem.
> but somthing is going wrong. as i m doing it first time i cant figure
> it out.
> when i give command as
> fsol=eig(kuufinal,muufinal)

I hope you know eigenvalues of A with respect to B is eigenvalues of inv(B)*A. So that might help for your symbolic call.

Bruno

Subject: eigenvalues

From: munir

Date: 6 Nov, 2009 19:53:11

Message: 4 of 7

On Nov 7, 12:17 am, "Bruno Luong" <b.lu...@fogale.findmycountry>
wrote:
> munir <munirpans...@gmail.com> wrote in message <d7d30128-4368-4ff6-97e4-32d1984d2...@h14g2000pri.googlegroups.com>...
> > dear all,
> > i want to find eigenvalues for a dynamic problem.
> > but somthing is going wrong. as i m doing it first time i cant figure
> > it out.
> > when i give command as
> >  fsol=eig(kuufinal,muufinal)
>
> I hope you know eigenvalues of A with respect to B is eigenvalues of inv(B)*A. So that might help for your symbolic call.
>
> Bruno

i tried whatever u suggested,but nothing is working. my matrix size is
40*40. is there any effect of diagonal terms of very small
magnitude???
thank u for ur replies.

Subject: eigenvalues

From: munir

Date: 7 Nov, 2009 05:52:00

Message: 5 of 7

On Nov 7, 12:53 am, munir <munirpans...@gmail.com> wrote:
> On Nov 7, 12:17 am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> wrote:
>
> >munir<munirpans...@gmail.com> wrote in message <d7d30128-4368-4ff6-97e4-32d1984d2...@h14g2000pri.googlegroups.com>...
> > > dear all,
> > > i want to find eigenvalues for a dynamic problem.
> > > but somthing is going wrong. as i m doing it first time i cant figure
> > > it out.
> > > when i give command as
> > >  fsol=eig(kuufinal,muufinal)
>
> > I hope you know eigenvalues of A with respect to B is eigenvalues of inv(B)*A. So that might help for your symbolic call.
>
> > Bruno
>
> i tried whatever u suggested,but nothing is working. my matrix size is
> 40*40. is there any effect of diagonal terms of very small
> magnitude???
> thank u for ur replies.

dear all,
any suggestion plz...

Subject: eigenvalues

From: Bruno Luong

Date: 7 Nov, 2009 07:31:30

Message: 6 of 7

>
> dear all,
> any suggestion plz...

Yes: drop trying to compute symbolic eigenvalues for matrix of 40 in size. You might get - if -ever - a formula that not fits on 1000 pages of paper. Before you will be asked what to do with it, might be you might think about saving a tree not to print out such formula.

Now the chance that Matlab or any software that can solve for eigenvalues problem for you is zero. You might know that this problem is equivalent to finding the roots of 40th order polynomials. Take a look at Galois's theory, who has shown two centuries ago that - in general - such formula does not exist for polynomial or order 5th or greater, e.g. 40th order.

Bruno

Subject: eigenvalues

From: munir

Date: 7 Nov, 2009 11:06:23

Message: 7 of 7

On Nov 7, 12:31 pm, "Bruno Luong" <b.lu...@fogale.findmycountry>
wrote:
> > dear all,
> > any suggestion plz...
>
> Yes: drop trying to compute symbolic eigenvalues for matrix of 40 in size. You might get - if -ever - a formula that not fits on 1000 pages of paper. Before you will be asked what to do with it, might be you might think about saving a tree not to print out such formula.
>
> Now the chance that Matlab or any software that can solve for eigenvalues problem for you is zero. You might know that this problem is equivalent to finding the roots of 40th order polynomials. Take a look at Galois's theory, who has shown two centuries ago that - in general - such formula does not exist for polynomial or order 5th or greater, e.g. 40th order.
>
> Bruno

as per ur suggestion i took inv(B)*A and then took its eigenvalues and
as i converted all symbolic values to numerical values by giving
symbols their numeric values. i m getting solution. so can i now find
eigenvalues of any order of a matrix??
thank u very much.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com