I am unable to understand how i can fit a Leastsquare model to time series data, my given data is date, x, y,LOD in matlab