MLOC_COMPARA Compares the linear approximation and the mloc model [rmseloc,yloc,rmselin,ylin,AICloc,AIClin]=mloc_compara(y,u,p,mloc) INPUTS y: output data from the system u: input data to the system p: selectors of dynamics mloc: mloc object (SOM with local models) DESCRIPTION Compares the global linear regression and the local model (mloc) for given input data u and selectors p against known output data y