% test_newton_int.m %------------------ % Testfunktion für % newton_int.m %------------------ clear all N = 4; x = [-1; 0; 2; 5]; f = [-3; -2; 6; 33]; b = newton_int(N,x,f) clear all N = 6; x = [0; 0.3; 0.6; 0.9; 1.2; 1.5]; f = [sin(x(1)); sin(x(2)); sin(x(3)); sin(x(4)); sin(x(5)); sin(x(6))]; b = newton_int(N,x,f)