stblpdf
statistics: y = stblpdf (x, alpha, beta, gam, delta)
Stable probability density function (PDF).
For each element of x, compute the probability density function (PDF)
of the stable distribution with tail index (first shape parameter)
alpha, skewness (second shape parameter) beta, scale parameter
gam, and location parameter delta, in the Nolan S0
parameterization. The size of y is the size of x.
alpha must be in the range , beta in , gam positive, and delta real. The parameters must be scalars.
The density has a closed form for alpha equal to 2 (normal) and
for 1 with beta equal to 0 (Cauchy); otherwise it is
computed by numerical inversion of the characteristic function.
Input arguments must be double or single; integer, logical,
and character arrays are rejected. MATLAB accepts a character array and
evaluates it at the character codes, which Octave deliberately does not,
since a character array is an integer type and integers are refused too.
See also: stblcdf, stblinv, stblrnd, makedist
Source Code: stblpdf
Stable densities: Cauchy, a skewed stable, and the normal limit
x = linspace (-6, 6, 200);
plot (x, stblpdf (x, 1, 0, 1, 0), "-", ...
x, stblpdf (x, 1.5, 0.5, 1, 0), "-", ...
x, stblpdf (x, 2, 0, 1, 0), "-");
legend ("Cauchy", "alpha=1.5, beta=0.5", "normal");