필터 지우기
필터 지우기

How can solve this first order ODE using ODE45? I used the function but I don't get what I want

조회 수: 1 (최근 30일)
dt/dx = 1+4.5(1-X)/ 3.5(1-X)
tspan= [0 10];
x0 = 0;
fun = (1+4.5*(1-x)/3.5*(1-x));
[t,x] = ode45(@(t,x)(1+4.5*(1-x)/3.5*(1-x)),tspan,x0);
plot(t,x,'o-')
xlabel('Time (hr)')
ylabel('Conversion')
title(' Time Vs Conversion)
legend('Conversion')
ylim([0 1.1])

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by