Why does there is no numerical solution but a structure.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
madhan ravi
2018-7-18
编辑:madhan ravi
2018-8-2
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!