Community Profile

photo

Hannah Middlestead


Active since 2019

Statistics

Content Feed

View by

Question


I am trying to use ODE45, but I keep getting an error with myfcn saying I don't have enough inputs?
function df = myfcn(t,f) df = zeros(3,1); df(1) = f(2); df(2) = f(3) ; df(3) = (-.5*f)*f(3) ; tspan = [0 10]; f0 = [0 ...

4 years ago | 1 answer | 0

1

answer