x=1:10; y=sin(2*pi*x/10); k=5 ; Degree of approximating polynomial % % %RESULTS % -4.7425201 9.9964075 -5.4668426 1.1860310 -0.1107734 0.0037230 % Coefficients of 5th degree polynomial