필터 지우기
필터 지우기

ode45显示错误使用 odearguments

조회 수: 9 (최근 30일)
顾沁
顾沁 2023년 3월 15일
답변: Varun 2023년 3월 20일

답변 (1개)

Varun
Varun 2023년 3월 20일
Hello!
Seeing the syntax with which you have called the ode45 function, I think the issue is with the parameters passed. The function "volterrab" has been passed in inverted commas. But the function syntax needs a function handle as the first input argument. So, try the syntax:
[t,x]=ode45(@volterra, ts,x0);
For more information, you may refer to the following documentation:
Hope this helps!

카테고리

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

Community Treasure Hunt

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

Start Hunting!