Return to site

Matlab polytool assignment

broken image
broken image
broken image

To change the degree of the polynomial, choose from the pop-up menu at the top of the figure. The argument n controls the degree of the polynomial fit. The predicted value of y will update as you drag the reference line. The shape of the pointer changes from an arrow to a cross hair when you are over the vertical line to indicate that the line can be dragged. Polytool fits by least-squares using the regression modelĮvaluate the function by typing a value in the x-axis edit box or by dragging the vertical reference line on the plot. Plots 100(1-alpha) % confidence intervals on the predicted values. Text with current predicted value of y and its uncertainty appears to the left of the y-axis. The plot shows the fitted curve and 95% global confidence intervals on a new predicted value for the curve.

broken image

This plot is graphic user interface for exploring the effects of changing the polynomial degree of the fit. Interactive plot for prediction of fitted polynomialsįits a line to the column vectors x and y and displays an interactive plot of the result. Polytool (Statistics Toolbox) Statistics Toolbox

broken image