function [y, err, w] = mark_any(w, x) % mark time series x, the dummy function % % [idx, w, err] = mark_any(w, x) % % w [1,W] parameters of the model here y = x % x [m,1] time series, the depended variable of the regression fit % % y [m,1] the calculated depended variable % err [scalar] the residual variance, MSE % w [1,W] parameters of the function % % if the regression parameters are required, the Least Squares Method will % be called, and the parameters will be returned together with new MSE. % Example % x = [1; 2; 3; 4; 5] % [y, err] = mark_lin([], x) % [y, err, w] = mark_lin([], x) y = x; err = 0; w = []; return