The number of indeterminates exceeds the number of equations. Trying to parameterize solutions in terms
Show older comments
i'm trying to solve diff eq but i have a warnnig, i need a help syms t V1(t) Vex(t) Cin R1 =3.3; R2=16; Rex=19.3; Cex=0.2; Vcc=0.35; V1T = dsolve((((V1-Vcc)/R1)+((V1-Vex)/R2)+Cin*diff(V1-Vex))==0, V1(0)==0,Vex(0)==0); VexT = dsolve((((Vex-V1)/R2)+Cin*diff(Vex-V1)+(Vex/Rex)+Cin*diff(Vex))==0,V1(0)==0,Vex(0)==0);
Answers (1)
Torsten
on 16 Jan 2015
You have to put both differential equations (for V1 and Vex) in one call to dsolve, not in two separate calls.
Example:
syms x(t) y(t)
z = dsolve(diff(x) == y, diff(y) == -x)
solves
x'=y
y'=-x
simultaneously as a system of ODEs.
Best wishes
Torsten.
Categories
Find more on Programming 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!