Mercurial > hg > octave-nkf
comparison scripts/deprecated/exponential_pdf.m @ 7693:8e5371d47da6
note version when functions were deprecated
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 03 Apr 2008 21:56:23 -0400 |
parents | a1dbe9d80eee |
children | 0a362fa8f3c8 |
comparison
equal
deleted
inserted
replaced
7692:da1f4bc7cbe8 | 7693:8e5371d47da6 |
---|---|
23 ## @end deftypefn | 23 ## @end deftypefn |
24 | 24 |
25 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> | 25 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> |
26 ## Description: PDF of the exponential distribution | 26 ## Description: PDF of the exponential distribution |
27 | 27 |
28 ## Deprecated in version 3.0 | |
29 | |
28 function pdf = exponential_pdf (varargin) | 30 function pdf = exponential_pdf (varargin) |
29 | 31 |
30 if (nargin > 1) | 32 if (nargin > 1) |
31 varargin{2} = 1 ./ varargin{2}; | 33 varargin{2} = 1 ./ varargin{2}; |
32 endif | 34 endif |