


HIT_PWARX_FORMAT_DATA Build regressors and outputs for a MISO PWARX model of orders na and nb. ------------------------------------------------------------------------- DESCRIPTION ------------------------------------------------------------------------- [Xid,yid]=hit_pwarx_format_data(u,y,na,nb); Each mode of the PWARX system is assumed to be in the form y(k)=theta_i * [y(k-1) ... y(k-na) u'(k-1) ... u'(k-nb)]' + constant ------------------------------------------------------------------------- INPUT ------------------------------------------------------------------------- u(i,:) is the i-th input sample. y(i) is the i-th output sample. na, nb: orders of the PWARX model. ------------------------------------------------------------------------- OUTPUT ------------------------------------------------------------------------- Xid: matrix containing the regressors. Each row is a datapoint. yid: column vector containing the output datapoints.
