Why does there is no numerical solution but a structure.

1 view (last 30 days)
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)

Accepted Answer

madhan ravi
madhan ravi on 18 Jul 2018
Edited: madhan ravi on 2 Aug 2018
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)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!