MATLAB: Nonlinear ordinary differntial equations

ode

i have three nonlinear oscillator equation
1 ) dx/dt = (mu-x^2-y^2)x – w*y +K*F
2) dy/dt = (mu-x^2-y^2)y + w*x
3) dw/dt = -K*F (y/(sqrt(x^2+y^2)))
here,
F is any input signal
K is coupling strength (K > 0 is any value)
w is oscillator intrinsic frequency
mu is constant (mu > 0 any value)
dw/dt is learning rule for intrinsic frequency (as it learn frequency of input signal F)
x and y are state variables
how could i implement it in MATLAB ?

Best Answer

Start with ODE45, take a look at this example and it will help you get started: