Issue with solve and vpasolve:

조회 수: 12 (최근 30일)
Matteo Giovanni Perego
Matteo Giovanni Perego 2017년 7월 24일
댓글: Matteo Giovanni Perego 2017년 7월 25일
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!

채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 24일
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
Matteo Giovanni Perego
Matteo Giovanni Perego 2017년 7월 25일
Yes I forgot about that. Thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by