NQuant:

Path: Common/Control

% Computes the variance for various types of roundoff.

--------------------------------------------------------------------------
   Form:
   [v, m] = NQuant( lSB, rType )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   lSB                Least significant bit
   rType              'round','truncate' Default is 'round' 

   -------
   Outputs
   -------
   v                  Variance ( sigma^2 ) 
   m                  Mean           

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

Back to the Common Module page