ReduceModal:

Path: Common/ControlGUI

% Retain modes k of the system a,b,c,d.
 Creates a balanced realization of the system then uses the
 eigenvectors to transform into modal coordinates. The retained modes
 are specified by k.

 Type ReduceModal for a demo.
--------------------------------------------------------------------------
   Form:
   g = ReduceModal( g, k )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g   (:)    State space system
   k   (1,:)  Modes to retain

   -------
   Outputs
   -------
   g   (:)    Reduced state space system

--------------------------------------------------------------------------