Effacer les filtres
Effacer les filtres

ode45显示错误使用 odearguments

7 vues (au cours des 30 derniers jours)
顾沁
顾沁 le 15 Mar 2023
Réponse apportée : Varun le 20 Mar 2023

Réponses (1)

Varun
Varun le 20 Mar 2023
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!

Catégories

En savoir plus sur 常微分方程 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!