Hello,

>> N = 1e3;

>> mu = 5;

>> sigma = 10;

>> X = random('Normal',mu,sigma,N,1);

error: 'normrnd' undefined near line 155 column 16

error: called from

random at line 155 column 14

>> X = random('Normal',mu,sigma,N);

error: 'normrnd' undefined near line 155 column 16

error: called from

random at line 155 column 14

>> X = random('normal',mu,sigma,N);

error: 'normrnd' undefined near line 155 column 16

error: called from

random at line 155 column 14

>> X = random('uniform',mu,sigma,N);

error: 'unifrnd' undefined near line 163 column 16

error: called from

random at line 163 column 14

>> help normrnd

error: help: 'normrnd' not found

'random' is a function from the file

C:\Octave\OCTAVE~1.0\share\octave\packages\statistics-1.3.0\random.m

In the help, example is:R = random("normal", 5, 2, [10, 20]);

This is the same:

error: 'normrnd' undefined near line 155 column 16

error: called from

random at line 155 column 14

in paths,

C:\Octave\OCTAVE~1.0\share\octave\packages\statistics-1.3.0

Do you have any idea why random.m fails?

Regards,

Michel

--

Sent from:

http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html