How can I format this dsolve argument?

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)

 Accepted Answer

syms y(x)
ode = x * diff(y, x) == 50 * x * diff(y, x, 2) - 40.3 * x + 101;
x_dot = dsolve(ode)

More Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Products

Release

R2017b

Community Treasure Hunt

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

Start Hunting!