Confused with solve function.
조회 수: 6 (최근 30일)
이전 댓글 표시
I'm confused with the solve function. I used it this way before, can't find the issue here. Why it's not solving?
댓글 수: 0
답변 (1개)
Star Strider
2020년 12월 21일
This (typed in laboriously because you posted an image of your code rather than the code itself):
syms s X(s) Y(s) U(s)
TF_XU = (s^2 + 3*s + 5)*X(s) == (s^2 + s)*U(s) + (2*s^2 + 4*s)*Y(s);
TF = isolate(TF_XU,X)
produces:
TF =
X(s) == (Y(s)*(2*s^2 + 4*s) + U(s)*(s^2 + s))/(s^2 + 3*s + 5)
This is likely as close as you can get.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!