How to rearrange multiple variables within multiple equations.
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!