Home > mpt > examples > models > pwa_DI.m

pwa_DI

PURPOSE ^

PWA_DI 2nd order PWA example with 4 PWA dynamics

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

PWA_DI 2nd order PWA example with 4 PWA dynamics

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------

 Sample PWA system with 2 states and 1 control input.
 The affine dynamics is defined over 4 different regions.
 
 Note: with probStruct.subopt_lev=1 the solution consists of 220 regions
       with probStruct.subopt_lev=2 the solution consists of 144 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!)
   * No uncertainty


 USAGE:
   pwa_DI
   ctrlStruct = mpt_control(sysStruct,probStruct);

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 none

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 sysStruct, probStruct - system and problem definition structures stores
                         in the workspace

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003