capaplot
Process capability plot
Syntax
p = capaplot(data,specs)
[p,h] = capaplot(data,specs)
Description
p = capaplot(data,specs)
estimates
the mean of and variance for the observations in input vector data
,
and plots the pdf of the resulting T distribution. The observations
in data
are assumed to be normally distributed.
The output, p
, is the probability that a new observation
from the estimated distribution will fall within the range specified
by the two-element vector specs
. The portion of
the distribution between the lower and upper bounds specified in specs
is
shaded in the plot.
[p,h] = capaplot(data,specs)
additionally
returns handles to the plot elements in h
.
capaplot
treats NaN
values
in data
as missing, and ignores them.
Examples
Version History
Introduced before R2006a