MATLAB Function Reference | Go to function: | Search Help Desk

build_regressors |

build the regresors for a MIMO system

Syntax

    [in,out]=build_regressors(m,z,subset);

Description

`[in,out]=build_regressors(m,z,subset);` given the inputs outputs `z`=[outputs inputs], computes `subset` regressors.

Remarks

For z=[y u]; in{o}(t)=[y{1}(t-1),y{1}(t-2),...,y{1}(t-ny(o,1)),y{2}(t-1),y{2}(t-2),...,y{2}(t-ny(o,2)), ... u{1}(t-nd(O,1)),u{1}(t-1-nd(O,1)),...,u{1}(t-nu(o,1)-nd(O,1)), ...] out{o}(t)=y{o}(t) It works even if y{1} ... are all vectors (useful for the computation of the derivatives)

[ Help Desk ]