フィルターのクリア

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 Center および File Exchange编程 についてさらに検索

Community Treasure Hunt

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

Start Hunting!