Why does there is no numerical solution but a structure.

1 visualización (últimos 30 días)
Archit Asthana
Archit Asthana el 18 de Jul. de 2018
Editada: madhan ravi el 2 de Ag. de 2018
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)

Respuesta aceptada

madhan ravi
madhan ravi el 18 de Jul. de 2018
Editada: madhan ravi el 2 de Ag. de 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)

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Productos


Versión

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by