
Dominic Nightingale
Followers: 0 Following: 0
Feeds
提问
Runge kutta order 2 by hand
I am trying to runge-kutta order 2 and I keep getting this error Unable to perform assignment because the left and right side...
5 years 前 | 1 个回答 | 0
1
个回答提问
Array indices must be positive integers or logical values.
clc; clear all; x=1; h=10; f = @(x) sin(((x^2+x))) for n = 1:10 df(n-1) = (f(x+(h^(n-1)) - f(x)))/(h^n-1) end ...
5 years 前 | 1 个回答 | 0