How can I format this dsolve argument?

조회 수: 1 (최근 30일)
Keith Grey
Keith Grey 2020년 6월 15일
답변: Walter Roberson 2020년 6월 15일
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일
syms y(x)
ode = x * diff(y, x) == 50 * x * diff(y, x, 2) - 40.3 * x + 101;
x_dot = dsolve(ode)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by