Numerical integration
Numerical integration. x. Initial value problem. function dy = GeneDE ( t,y,p ) betam = p(1); alpham = p(2); q = p(3); alpha = p(4); dy = zeros(2,1); dy (1) = betam - alpham *y(1); dy (2) = q*y(1) - alpha*y(2 );. MatLab example.
320 views • 20 slides