Difference between revisions of "Snormpdf.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:function.m}} Azzalini's skew normal distribution (Equation 2 in http://www.jstor.org/stable/4615982). ==Syntax== p=snormpdf(x,mu,sigma,alpha) ==Argument...")
 
(→‎See also)
Line 27: Line 27:
  
 
==See also==
 
==See also==
−
[[apodization.m]], [[expdrop.m]], [[gaussfun.m]], [[lorenzfun.m]]
+
[[apodization.m]], [[expdrop.m]], [[gaussfun.m]], [[lorentzfun.m]]
  
  
 
''Version 2.2, authors: [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Ilya Kuprov]]''

Revision as of 16:05, 9 July 2018

Azzalini's skew normal distribution (Equation 2 in http://www.jstor.org/stable/4615982).

Syntax

    p=snormpdf(x,mu,sigma,alpha)

Arguments

  x     - an array of real numbers

  mu    - expectation value of the normal distribution

  sigma - standard deviation of the normal distribution

  alpha - skew factor, a real number

Outputs

  p     - an array of probability densities, 
          same shape as x 

Examples

Below is the plot of the skew normal distribution with a mean of 2, standard deviation of 1, and the skew of 20.

Snormpdf.png

See also

apodization.m, expdrop.m, gaussfun.m, lorentzfun.m


Version 2.2, authors: Ilya Kuprov