Ich habe zwei Arrays; R = [r0, r1, r2, ..., r999]
Z = [z0, z1, z2, ..., z999]
mag ich polyfit die oben aufzubringen, wobei die Funktion R (z). Ich brauche das Polynom zu sein x^2 + x^4 + x^6 + x^8
ich versuchte, eine Regressionskurve zu zeichnen: coef_fit = polyfit(norm_dist,norm_time,7);
y_fit = polyval(coef_fit,xlim);
plot(xlim,y_fit,'r');
Aber es ist immer eine Linie jeweils in der Größe