How to rearrange multiple variables within multiple equations.

3 ビュー (過去 30 日間)
Nicholas D'Aquila
Nicholas D'Aquila 2018 年 4 月 6 日
I have these 4 equations. I need to isolate Ia_dot,Ib_dot,Ic_dot, and If_dot (Each variable should not contain the other 3 variables). Each variable is syms and is defined as 'real'.
Ia_dot = -(Rss*Ia+Va)/Lss + (X_deva*we*If+Xa*If_dot)/Lss
Ib_dot = -(Rss*Ib+Vb)/Lss + (X_devb*we*If+Xb*If_dot)/Lss;
Ic_dot = -(Rss*Ic+Vc)/Lss + (X_devc*we*If+Xc*If_dot)/Lss;
If_dot = -(Rf/Lf)*If - Vf/Lf+([X_deva X_devb X_devc]*[Ia Ib Ic]'*we+[Xa Xb Xc]*[Ia_dot Ib_dot Ic_dot]')/Lf;
I have tried to use the solve function. My attempt with solve, I get "Empty sym: 0-by-1"
Ia_eqn = Ia_dot == -(Rss*Ia+Va)/Lss + (X_deva*we*If+Xa*If_dot)/Lss;
Ib_eqn = Ib_dot == -(Rss*Ib+Vb)/Lss + (X_devb*we*If+Xb*If_dot)/Lss;
Ic_eqn = Ic_dot == -(Rss*Ic+Vc)/Lss + (X_devc*we*If+Xc*If_dot)/Lss;
If_eqn = If_dot == -(Rf/Lf)*If - Vf/Lf+([X_deva X_devb X_devc]*[Ia Ib Ic]'*we+[Xa Xb Xc]*[Ia_dot Ib_dot Ic_dot]')/Lf;
solve([Ia_eqn,Ib_eqn,Ic_eqn,If_eqn], If_dot)
Any help will be deeply appreciated!

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by