GET MATRICES

Gets the H and K matrices defining the linear inequality constraints

Contents

Method of constraints object.

Description

This method allows to get the H and K matrices defining the linear inequality constraints $H [x \ u \ p]' \leq K$.

Syntax

[H K] = getMatrices(object)

Gets matrices defining constraints $H [x \ u \ p]' \leq K$. H and K are cell arrays; each element of the cell array corresponds to a time instant.

[H K] = getMatrices(object,label)

label can be either 'x', 'u', 'p' or 'm'. If label = 'x', the submatrices defining constraints on states are returned. If label = 'u', the submatrices defining constraints on inputs are returned. If label = 'p', the submatrices defining constraints on parameters are returned. If label = 'm', the submatrices defining mixed constraints are returned. H and K are cell arrays; each element of the cell array corresponds to a time instant.

Acknowledgements

Contributors:

Copyright is with: