comparison scripts/statistics/distributions/lognpdf.m @ 11472:1740012184f9

Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 21:33:04 -0800
parents a1dbe9d80eee
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11471:994e2a93a8e2 11472:1740012184f9
47 ## Hence ... 47 ## Hence ...
48 48
49 if (!isscalar (mu) || !isscalar (sigma)) 49 if (!isscalar (mu) || !isscalar (sigma))
50 [retval, x, mu, sigma] = common_size (x, mu, sigma); 50 [retval, x, mu, sigma] = common_size (x, mu, sigma);
51 if (retval > 0) 51 if (retval > 0)
52 error ("lognpdf: x, mu and sigma must be of common size or scalars"); 52 error ("lognpdf: X, MU and SIGMA must be of common size or scalars");
53 endif 53 endif
54 endif 54 endif
55 55
56 pdf = zeros (size (x)); 56 pdf = zeros (size (x));
57 57