Community Profile

photo

Dominic Nightingale


Last seen: 4 months ago Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


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 ...

4 years ago | 1 answer | 0

1

answer