Problem about RootOf in Singular Value Decomposition

1 回表示 (過去 30 日間)
Erdem
Erdem 2014 年 7 月 12 日
コメント済み: Star Strider 2014 年 7 月 13 日
Hello,
I have a problem about getting rid of the RootOf function that appears as a result of a singular value decomposition (SVD). I'd appreciate your help.
I obtain a vector of singular values of a 4x4 matrix L by "sigma=svd(L)". L has only one variable, which is "kx". The vector of singular values is given below. What Matlab does is to add an additional variable "z1" to the result. As a result, I have two variables, kx and z1. My question is how I can obtain a vector of singular values without a "z1" variable?
In addition, there is a "[1]^(1/2)" term at the end of each row. What does that point out?
The result of sigma=svd(L) is:
sigma=
RootOf(256*kx^2*z1^6*conj((- kx^2 + 9/4)^(1/2))^2)[1]^(1/2)
RootOf(256*kx^2*z1^6*conj((- kx^2 + 9/8)^(1/2))^2)[1]^(1/2)
RootOf(256*kx^2*z1^6*conj((- kx^2 + 9/16)^(1/2))^2)[1]^(1/2)
RootOf(256*kx^2*z1^6*conj((- kx^2 + 9/24)^(1/2))^2)[1]^(1/2)
Thanks in advance,
Erdem

採用された回答

Star Strider
Star Strider 2014 年 7 月 12 日
The z1 is a dummy variable the Symbolic Math Toolbox inserts in some situations. Without seeing your code, it is difficult to say what it could mean. The RootOf may have to do with the symbolic engine assuming that kx could be complex. Declaring it real in your syms or sym statement could clear that up. No guarantees.
  9 件のコメント
Erdem
Erdem 2014 年 7 月 13 日
Thank you so much. I achieved to obtain a converging solution. There are some problems in the solution, but these can be discussed under a different thread. I'll open a different thread for these.
Erdem
Star Strider
Star Strider 2014 年 7 月 13 日
My pleasure!
I’m very happy it works! I’ll look for your other thread, since I’m interested in your project.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by