How can I format this dsolve argument?

3 Ansichten (letzte 30 Tage)
Keith Grey
Keith Grey am 15 Jun. 2020
Beantwortet: Walter Roberson am 15 Jun. 2020
I'm not too familiar with solving DE's in matlab, but I keep getting an error when trying to implement this solution. Is there a syntax mistake I'm missing?
syms x
ode = x * diff(y, x) == 50 * x * diff(y, x, 2) - 40.3 * x + 101;
x_dot = dsolve(ode)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 15 Jun. 2020
syms y(x)
ode = x * diff(y, x) == 50 * x * diff(y, x, 2) - 40.3 * x + 101;
x_dot = dsolve(ode)

Weitere Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by