


PWA_DI_ADDU 2nd order PWA example with 4 PWA dynamics and additive uncertainty
---------------------------------------------------------------------------
DESCRIPTION
---------------------------------------------------------------------------
Sample PWA system with 2 states, 1 control input and an additive disturbance
The affine dynamics is defined over 4 different regions.
Default values are:
* Prediction horizon N = Inf
* Weight in the cost function Q = I, R = 1
* Norm = 2
* No bounds on x0
* Level of suboptimality = 1 (needed for PWA systems!)
* Additive uncertainty = unitbox(2,0.2)
USAGE:
pwa_DI_addU
ctrlStruct = mpt_control(sysStruct,probStruct)
---------------------------------------------------------------------------
INPUT
---------------------------------------------------------------------------
none
---------------------------------------------------------------------------
OUTPUT
---------------------------------------------------------------------------
sysStruct, probStruct - system and problem definition structures stores
in the workspace