Thread Subject: Help implementing the subspace iteration- or Lanczos method in matlab

Subject: Help implementing the subspace iteration- or Lanczos method in matlab

From: Tommy Olsen

Date: 7 May, 2009 18:42:48

Message: 1 of 4

Hello all!

I am need to create an eigensolver using either the Subspace iteration method or the lanczoz method in matlab. The problem is related to dynamics in structures and the eigenfrequencies is wanted.

The structure is built with beams and bar elements, and the stiffness matrix "K" and the mass matrix "M" is made. I am having some big problems on getting started with the implementation on the eigensolvers... So help is deeply wanted!

I really appreciate any help!

Subject: Help implementing the subspace iteration- or Lanczos method in matlab

From: Andrea

Date: 20 May, 2009 10:31:02

Message: 2 of 4

Hi Tommy,

I think you can try to use this command for your analysis:
[MODE,PULSATION]=eig(K,M,freq_number,'SM');

K is stiffness matrix
M is mass matrix
freq_number is the number of natural frequencies you want.
I think eigs is for sparse matrix.
MODE is the eigenvector
PULSATION is the eigenvalue
You can recover the natural frequencies from the eigenvalue (PULSATION).

I hope this helps.

"Tommy Olsen" <tommyolse@gmail.com> wrote in message <gtva38$g30$1@fred.mathworks.com>...
> Hello all!
>
> I am need to create an eigensolver using either the Subspace iteration method or the lanczoz method in matlab. The problem is related to dynamics in structures and the eigenfrequencies is wanted.
>
> The structure is built with beams and bar elements, and the stiffness matrix "K" and the mass matrix "M" is made. I am having some big problems on getting started with the implementation on the eigensolvers... So help is deeply wanted!
>
> I really appreciate any help!

Subject: Help implementing the subspace iteration- or Lanczos method in matlab

From: Bruno Luong

Date: 20 May, 2009 10:51:01

Message: 3 of 4

"Andrea" <alaskaice75.nospam@libero.it> wrote in message <gv0m55$elh$1@fred.mathworks.com>...
> Hi Tommy,
>
> I think you can try to use this command for your analysis:
> [MODE,PULSATION]=eig(K,M,freq_number,'SM');
>
> K is stiffness matrix
> M is mass matrix
> freq_number is the number of natural frequencies you want.
> I think eigs is for sparse matrix.
> MODE is the eigenvector
> PULSATION is the eigenvalue
> You can recover the natural frequencies from the eigenvalue (PULSATION).
>

Indeed, the resonance frequency is

f = 1/(2*pi)*sqrt(PULSATION)

Bruno

Subject: Help implementing the subspace iteration- or Lanczos method in matlab

From: Etienne

Date: 22 May, 2009 06:12:01

Message: 4 of 4

You can take a look at fe_eig in OpenFEM http://gforge.inria.fr/scm/?group_id=370

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
mode shape Andrea 20 May, 2009 06:34:06
natural frequen... Andrea 20 May, 2009 06:34:06
vibration Andrea 20 May, 2009 06:34:06
dynamic Andrea 20 May, 2009 06:34:06
finite element Andrea 20 May, 2009 06:34:06
fem Andrea 20 May, 2009 06:34:06
iteration Tommy Olsen 8 May, 2009 06:40:54
subspace Tommy Olsen 8 May, 2009 06:40:54
lanczos Tommy Olsen 8 May, 2009 06:40:54
matlab Tommy Olsen 8 May, 2009 06:40:54
rssFeed for this Thread

Contact us at files@mathworks.com