Wrtpulse
Jump to navigation
Jump to search
Purpose
Creates input and output matrices for finite impulse response (FIR) dynamic model identification and prediction.
Synopsis
- [newu,newy] = wrtpulse(u,y,n,delay)
Description
WRTPULSE is used to write time series data with muliple inputs and a single output into a form to obtain finite impulse response (FIR) and ARX models. Inputs are a matrix of input vectors u, and an output vector y. n is a row vector with the number of coefficents to use for each input, and delay is a row vector containing the number of time units of delay for each input. The output is a matrix of lagged input variables newu and the corresponding output vector newy.