diff scripts/statistics/distributions/wblcdf.m @ 11128:9cb5c0b7b43b

Fix reversed documentation for shape and scale parameters in Weibull family of functions.
author Rik <octave@nomad.inbox5.com>
date Thu, 21 Oct 2010 11:58:42 -0700 (2010-10-21)
parents a4f482e66b65
children 1740012184f9
line wrap: on
line diff
--- a/scripts/statistics/distributions/wblcdf.m
+++ b/scripts/statistics/distributions/wblcdf.m
@@ -19,16 +19,16 @@
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {} wblcdf (@var{x}, @var{scale}, @var{shape})
 ## Compute the cumulative distribution function (CDF) at @var{x} of the
-## Weibull distribution with shape parameter @var{scale} and scale
+## Weibull distribution with scale parameter @var{scale} and shape
 ## parameter @var{shape}, which is
 ## @tex
-## $$ 1 - \exp(-(x/shape)^{scale}) $$
-## for $x\geq 0$.
+## $$ 1 - e^{-({x \over scale})^{shape}} $$
+## for $x \geq 0$.
 ## @end tex
 ## @ifnottex
 ##
 ## @example
-## 1 - exp(-(x/shape)^scale)
+## 1 - exp(-(x/scale)^shape)
 ## @end example
 ##
 ## @noindent