Professional Documents
Culture Documents
% Funktionen definieren
f = inline('1./(1+x.^2)');
% Stützstellen bestimmen
xi = { linspace(-5,5,6); ...
[chebyshev(6)*5]; ...
linspace(-5,5,11); ...
[chebyshev(11)*5] };
for k = 1:4
yi{k} = f(xi{k});
ci{k} = polyfit(xi{k},yi{k},length(xi{k})-1);
end