function prolozeni
t=[1:5];
pr=[10,12,14,17,18];
plot(t,pr,'o')
k=polyfit(t,pr,2);
disp('Koeficienty polynomu')
disp(k)
xj=0.5:0.1:5.5;
y=polyval(k,xj);
hold on
plot(xj,y,'r')
hold off
end

