MATLAB: How to format this dsolve argument

differential equationsdsolveMATLABode

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)

Best Answer

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