Home > hit > plotting > hit_pwa_plot2d.m

hit_pwa_plot2d

PURPOSE ^

HIT_PWA_PLOT2D Plot a PWA function with 2D domain.

SYNOPSIS ^

function minz=hit_pwa_plot2d(theta,regions,regressor_set,x1,x2,fig,color_surface)

DESCRIPTION ^

HIT_PWA_PLOT2D Plot a PWA function with 2D domain.

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

 minz=hit_pwa_plot2d(theta,regions,regressor_set,x1,x2,fig,color_surface)
 
 -------------------------------------------------------------------------
 INPUT
 -------------------------------------------------------------------------
 theta{i}: PV of the i-th mode.

 regions(i): polyhedron describing the region of the i-th mode. 

 regressor_set: polytope specifying the polytopic domain of the function.
 It can be empty if the regions are already bounded.

 nfig: # of the figure displaying the plot.

 x_lab, y_lab: labels for the x-y axis.

 x1,x2: grids of points in the x,y directions, respectively.

 fig: number of the figure in which the plot appears.

 color_surface: RGB vector defining the color of the PWA surface.
 
 -------------------------------------------------------------------------
 OUTPUT                                                                                                   
 -------------------------------------------------------------------------
 minz: minimum of the PWA function.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 01-Dec-2005 10:54:38 by m2html © 2003