Home > mpt > @polytope > and.m

and

PURPOSE

AND Intersection of n polytopes

SYNOPSIS

function R = and(varargin)

DESCRIPTION

```AND Intersection of n polytopes

R = and(varargin)

---------------------------------------------------------------------------
DESCRIPTION
---------------------------------------------------------------------------
Intersection of n polytopes

R = AND(P1,P2,P3,...) returns normalized minimal representation
of intersection of n polytopes P1, P2, P3,..., Pn

USAGE:
R = and(P1,P2,P3)
R = P1 & P2

---------------------------------------------------------------------------
INPUT
---------------------------------------------------------------------------
Polytopes delimited by comma. If P1 (or P2, etc.) are polytope arrays,
then the elements of P1 are considered as seperate polytopes, i.e
AND(P1) is the same as AND(P1(1),P1(2),P1(3),...).

---------------------------------------------------------------------------
OUTPUT
---------------------------------------------------------------------------
R - Polytope containing the intersection of input arguments

Note: INTERSECT and AND have different functionality.

CROSS-REFERENCE INFORMATION

This function calls:
• length LENGTH Returns number of regions over which the explicit control law is defined
• dimension DIMENSION Returns dimension of the given polytope
• end END Returns the last element in a given polytope array
• isfulldim ISFULLDIM Checks if a polytope is full dimensional
• length LENGTH Returns number of elements in a polytope array
• polytope POLYTOPE Default constructor for the POLYTOPE object
• chebyball_f CHEBYBALL_F Computes center and radius of the largest ball inscribed in a polytope
• size SIZE Returns size of the given polytope object
• mpt_error MPT_ERROR Function called if MPT toolbox is not initialized
This function is called by:

Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003