How to solve ode functions?
이전 댓글 표시
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
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
2020년 9월 16일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!