How to rearrange multiple variables within multiple equations.

3 vues (au cours des 30 derniers jours)
Nicholas D'Aquila
Nicholas D'Aquila le 6 Avr 2018
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!

Réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by