Warning: The number of equations exceeds the number of indeterminates. Trying heuristics to reduce to square system.
1 次查看(过去 30 天)
显示 更早的评论
here is my code:
%enter code here
vo=550;
Lk=1e-3;
C=3e-9;
c=3e-9;
syms vc1(t) vc2(t) il(t) ic1(t)
equ1 = vc1 + vc2 - vo == 0;
equ2= Lk * diff(il , t)- vc1 == 0;
equ3 = ic1 == c * diff ( vc1 , t );
equ4 = il +ic1 ==c *diff (vc2 , t );
cond = [vc1(0) == vo , vc2(0) == 0, il(0)==0, ic1(0) == 0];
[svc1(t), svc2(t) ] = dsolve ([equ1 , equ2 , equ3 , equ4 ], cond )
I am getting this repeated error.
Thanking in anticipation.
7 个评论
madhan ravi
2018-7-6
It happened to me once but when I didn’t use the intial co diction it worked . Try doing it or check the initial condition.
Walter Roberson
2018-7-6
Yes, when I was working it through on Maple, Maple could not find the solution when I gave the initial conditions. I had to ask for the general solution and then use my knowledge of the initial conditions to pin down the values of the constants of integration.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!