Home > hit > hit_pwarx_format_data.m

hit_pwarx_format_data

PURPOSE ^

HIT_PWARX_FORMAT_DATA Build regressors and outputs for a MISO PWARX model of orders na and nb.

SYNOPSIS ^

function [Xid,yid]=hit_pwarx_format_data(u,y,na,nb);

DESCRIPTION ^

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.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 01-Dec-2005 10:54:38 by m2html © 2003