Why does there is no numerical solution but a structure.
1 view (last 30 days)
Show older comments
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)
0 Comments
Accepted Answer
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)
0 Comments
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!