a matrix equation problem
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Could you please help me to write this equation code
I have two matrix A, B. These matrices are square matrix 4*4,6*6 or etc and known. My equation is det(A-B*x^2)=0 How will I find x values
1 个评论
Walter Roberson
2011-11-30
Is x a scalar or a matrix?
回答(1 个)
Teja Muppirala
2011-11-30
If B is invertible:
x = sqrt(eig(B\A))
Reason: det(A-B*x^2) = 0
implies that
det(B\A-I*x^2) = 0
If B is not invertible, this won't work.
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!