Warning: The number of equations exceeds the number of indeterminates. Trying heuristics to reduce to square system.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
madhan ravi
el 6 de Jul. de 2018
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
el 6 de Jul. de 2018
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.
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!