Issue with solve and vpasolve:
조회 수: 12 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!