Home > wafo > wstats > wnormstat.m

wnormstat

PURPOSE ^

Mean and variance for the Normal distribution.

SYNOPSIS ^

[m,v]= wnormstat(m0,v0);

DESCRIPTION ^

 WNORMSTAT Mean and variance for the Normal distribution.
  
  CALL:  [m,v] = wnormstat(m0,v0)
 
    m, v = the mean and variance, respectively 
  m0, v0 = parameters of the Normal distribution.
 
   Mean (m) and variance (v) for the Normal distribution is
 
   m=m0  and  v=v0;
 
  Example:
    [m,v] = wnormstat(5,3) % Trivial!

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

01 function [m,v]= wnormstat(m0,v0);
02 %WNORMSTAT Mean and variance for the Normal distribution.
03 % 
04 % CALL:  [m,v] = wnormstat(m0,v0)
05 %
06 %   m, v = the mean and variance, respectively 
07 % m0, v0 = parameters of the Normal distribution.
08 %
09 %  Mean (m) and variance (v) for the Normal distribution is
10 %
11 %  m=m0  and  v=v0;
12 %
13 % Example:
14 %   [m,v] = wnormstat(5,3) % Trivial!
15 
16 if nargin < 2,    
17     error('Requires two input arguments.'); 
18 end
19 
20 m =  m0;
21 v = v0;
22 
23

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