Community Profile

photo

Dominic Nightingale


Last seen: 4 Monate vor Aktiv seit 2019

Statistiken

Content Feed

Anzeigen nach

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort