Home > wafo > misc > levels.m

levels

PURPOSE ^

Calculates discrete levels given the parameter matrix.

SYNOPSIS ^

l=levels(param)

DESCRIPTION ^

 LEVELS Calculates discrete levels given the parameter matrix.
 
   CALL: ui = levels(param);
 
         ui    = the discrete levels.
         param = the parameter matrix = [u_min u_max num_levels].
  Example:% 
 
  param=[2 3.2 4]; levels(param)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

01 function l=levels(param)
02 %LEVELS Calculates discrete levels given the parameter matrix.
03 %
04 %  CALL: ui = levels(param);
05 %
06 %        ui    = the discrete levels.
07 %        param = the parameter matrix = [u_min u_max num_levels].
08 % Example:% 
09 %
10 % param=[2 3.2 4]; levels(param)
11 
12 l=linspace(param(1),param(2),param(3));
13

Mathematical Statistics
Centre for Mathematical Sciences
Lund University with Lund Institute of Technology

Comments or corrections to the WAFO group


Generated on Thu 06-Oct-2005 02:21:16 for WAFO by m2html © 2003