Issue with solve and vpasolve:

4 vues (au cours des 30 derniers jours)
Matteo Giovanni Perego
Matteo Giovanni Perego le 24 Juil 2017
I have this system of 10 equations in the same amount of variables, implemented as symbolic variables. I arranged my equations in a 1x10 vector named syst and I'm trying to solve it using "solve".
"solve(syst)" works fine but "solve(syst')" returns the following warning and returns a struct of 10 empty fields:
Warning: Cannot find explicit solution.
> In solve (line 316)
SOL =
B: [0x1 sym]
D: [0x1 sym]
xB1: [0x1 sym]
xB2: [0x1 sym]
xB3: [0x1 sym]
xB4: [0x1 sym]
xD1: [0x1 sym]
xD2: [0x1 sym]
xD3: [0x1 sym]
xD4: [0x1 sym]
Same goes for "vpasolve", but without the warning
It's not really an issue, I'd just like to know why does it happen.
Thank you!

Réponse acceptée

Walter Roberson
Walter Roberson le 24 Juil 2017
It is not uncommon for equations to have exact solutions but for their complex conjugate to not have any exact solution.
I suspect you forgot that the ' operator is complex conjugate transpose, not just transpose.
  1 commentaire
Matteo Giovanni Perego
Matteo Giovanni Perego le 25 Juil 2017
Yes I forgot about that. Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by