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)

 採用された回答

Walter Roberson
Walter Roberson 2020 年 6 月 15 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

製品

リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by