フィルターのクリア

Combining symbolic differential equations

2 ビュー (過去 30 日間)
Michael
Michael 2022 年 7 月 11 日
コメント済み: Michael 2022 年 7 月 11 日
Hello,
I have the following two equations:
syms R C positive
syms u_e(t) u_a(t) i(t)
eq1 = u_e(t) == R * i(t) + u_a(t)
eq1 = 
eq2 = i(t) == C * diff(u_a(t), t)
eq2 = 
I want to use the expression i(t) of equation 2 in equation 1. Using solve does not help.
solve(eq2, i(t))
Warning: Solutions are parameterized by the symbols: [z1, z2], z2. To include parameters and conditions in the solution, specify the 'ReturnConditions' value as 'true'.
Warning: Solutions are only valid under certain conditions. To include parameters and conditions in the solution, specify the 'ReturnConditions' value as 'true'.
ans = struct with fields:
C: z1 t: z2
Could anyone give me a hint, how to do this?
Michael
  1 件のコメント
Michael
Michael 2022 年 7 月 11 日
Meanwhile I found the following solution:
syms R C positive
syms u_e(t) u_a(t) i(t)
syms U_0 real
Gl1 = u_e(t) == R * i(t) + u_a(t)
Gl1 = 
Gl2 = i(t) == C * diff(u_a(t), t)
Gl2 = 
Gl3 = subs(Gl1,lhs(Gl2), rhs(Gl2))
Gl3 = 
Thank you for your discussion.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by