I am doing a polynomial curve fitting and I have x & y dimension are 1×20 but the residuals plot dimension i was getting is of 20×1….So i am not able to plot the residual plot in command line after saving ow to my fit. Plz tell how to make dim equal so that i can plot residuals?

# MATLAB: How to make residuals and X & Y data dimension equal

cftool

## Best Answer