How to solve ode functions?
Afficher commentaires plus anciens
Hi there,
Please see my code which is attached here. I have tried to run it, but it says not enough inputs.
Can anyone help me with this?
Thank you very much for your help.
2 commentaires
You defined a function in a script. The function requires two inputs arguments:
function [velocity, time]= diff_eqn(t1,depth)
When you called the function, did you provide it with both of those inputs?
Danny Maefengea
le 16 Sep 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Ordinary Differential Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!