Solve the following eigenvalue problem using Matlab

Hello, I am a beginner level in Matlab so I am little bit confused by this questions would you guys have a look please?
Thank you!
w^2 [ 3 0 0 (x) = [ 10 -4 0 (x)
0 2 2 -4 6 -2
0 0 1] 0 -2 2]

 Accepted Answer

Still confused ? Then read about "eig".
B = [ 3 0 0 ;
0 2 2 ;
0 0 1] ;
A = [ 10 -4 0 ;
0 2 2 ;
0 0 1] ;
[V,D] = eig(A,B)
A*V - B*V*D
A*V(:,1)-B*V(:,1)*D(1,1)
A*V(:,2)-B*V(:,2)*D(2,2)
A*V(:,3)-B*V(:,3)*D(3,3)
w(1) = sqrt(D(1,1))
w(2) = sqrt(D(2,2))
w(3) = sqrt(D(3,3))

3 Comments

Thank you so much but why did you write the last line?
The V's are your x and the sqrt(D)'s are your w's. Or what do you mean ?
The problem is in terms of w^2 so to find w you need to take the square root of the computed coordinates

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!