Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: defective eigenvalues (repeated, complex and include zeros)
Date: Mon, 20 Apr 2009 04:15:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 23
Message-ID: <gsgss7$q0d$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1240200903 26637 172.30.248.38 (20 Apr 2009 04:15:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 20 Apr 2009 04:15:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1376919
Xref: news.mathworks.com comp.soft-sys.matlab:533963


 The eigenvalues for the 6X6 (mass, damping, and stiffness) system described by the equation below include values which are: repeated, complex and include zeros
  m*y''(t)+c*y'(t)+k*y(t)=0

 lam =

         0          
         0          
         0          
   -0.0023          
   -0.0023          
   -0.0023          
   -0.1421 - 0.7205i
   -0.1421 + 0.7205i
   -0.1421 - 0.7206i
   -0.1421 + 0.7206i
   -0.0846 - 0.8360i
   -0.0846 + 0.8360i

 What would be the best way to handle the matrix A in Matlab in order to calculate the correct natral periods (eigenvalues) of the system.

 n=6;
 A=[zeros(n,n), eye(n,n); -m\[k, c]];
 [U,lam]=eig(A); [lam,j]=sort(diag(lam)); U=U(:,j);