Confused with solve function.

5 ビュー (過去 30 日間)
Eren Genc
Eren Genc 2020 年 12 月 21 日
回答済み: Star Strider 2020 年 12 月 21 日
I'm confused with the solve function. I used it this way before, can't find the issue here. Why it's not solving?

回答 (1 件)

Star Strider
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.

カテゴリ

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

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by