Replacing Variable in an ODE
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Fahad Ramzan
am 13 Jun. 2021
Kommentiert: SALAH ALRABEEI
am 13 Jun. 2021
syms T(t)
ode = diff(T,t) == (Lemda-(Sigma.*T));
cond = T(0) == To;
Solution = dsolve(ode, cond)
ERRORS; (Not replacing with a variable)
Undefined function or variable 'Lemda'.
Error in Project (line 11)
ode = diff(T,t) == (Lemda-(Sigma.*T));
4 Kommentare
Akzeptierte Antwort
Walter Roberson
am 13 Jun. 2021
syms T(t) Lemda Sigma To
ode = diff(T,t) == (Lemda-(Sigma.*T));
cond = T(0) == To;
Solution = dsolve(ode, cond)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!