MATLAB: Does there is no numerical solution but a structure.

differential equationsMATLAB

syms vc(t) vin Rc Cc Vc1 Lk Lin ip(t) il(t) ic(t)
eq1=((-1)*vin+Lin*diff(il, t)+ vc == 0);
eq2= (vc-Lk*diff(ip , t) == 0);
eq3= (Cc*diff(vc, t)+(1/Rc)*(vc-vin)- il+ip == 0);
cond=[vc(0)==Vc1];
svc=dsolve(eq1,eq2,eq3,cond)

Best Answer

Hi,
It’s because the solution is too long plus the solution output is one that’s why and all the variables are symbolic.
if you want to view the solution type
svc.ip
svc.il
svc.vc
if you want to view the solution without structure then use the following code which has three outputs:
[ip,il ,vc ]=dsolve(eq1,eq2,eq3,cond)
Related Question