%Numerische Mathematik Serie 6 Marco Weber % Aufgabe 3 b) clear all clc j=1:1:6 x=-5+2*(j-1); f=1./(1+x.^2); xx=[-4 -2 0 2 4] [res]=my_spline(x,f,xx) % % %ERROR: % ??? Error using ==> horzcat % CAT arguments dimensions are not consistent. %Teilaufgabe b zz=spline(x,f,xx) zz = -0.0285 0.3131 0.5685 0.3131 -0.0285