Non trivial solution to a linear system
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Serge El Asmar
el 27 de Oct. de 2022
Comentada: Karim
el 27 de Oct. de 2022
Hello,
I am trying to solve a linear system of the form A*x=B with A = K-eigenfreq1(3)*M and B = [0 0 0 0 0]'
K and M are 5x5 matrices and eigenfreq1(3) is just a scalar.
However whenever I use the A\B command to solve the system I get the trivial solution x=[0 0 0 0 0]' and I am told that this solution is not unique. Is there a way to get the other, non trivial, solutions?

4 comentarios
Karim
el 27 de Oct. de 2022
See below for an example. This way you obtain all the natural frequencies and the corresponding modes.
K = rand(5);
M = rand(5);
[ EigenModes , EigenFreq ] = eig( K , M )
EigenFreq = diag( EigenFreq )
Respuesta aceptada
Más respuestas (1)
Torsten
el 27 de Oct. de 2022
Editada: Torsten
el 27 de Oct. de 2022
However whenever I use the A\B command to solve the system I get the trivial solution x=[0 0 0 0 0]' and I am told that this solution is not unique. Is there a way to get the other, non trivial, solutions?
null(A) gives you a basis for the kernel of A.
0 comentarios
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

