Home > mpt > @polytope > normalize.m

normalize

PURPOSE ^

NORMALIZE Normalizes a given polytope

SYNOPSIS ^

function [P] = normalize(P,Options)

DESCRIPTION ^

NORMALIZE Normalizes a given polytope

 P = normalize(P,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 PN = NORMALIZE(P) returns normalized representation PN of a
 polytope P. Polytope PN={x | H_ix <= K_i, i=1,...,nc} has the
 following property: H_i' * H_i=1, for all i.

 USAGE:
   P=normalize(P)
   P=normalize(P,Options)

 NOTE:
   By default, the POLYTOPE constructor performs the normalization automatically, 
   so there no need to use this function unless you switch the normalization
   off while creating the polytope object.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P                - Polytope
 Options.rel_tol  - relative tolerance
 Options.abs_tol  - absolute tolerance

 Note: If Options is missing or some of the fields are not defined, the default
       values from mptOptions will be used

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 P   - polytope in normalized description

 see also REDUCE, POLYTOPE

CROSS-REFERENCE INFORMATION ^

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