[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
random.m fails
From: |
Michel |
Subject: |
random.m fails |
Date: |
Thu, 12 Jul 2018 09:27:58 -0700 (MST) |
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
- random.m fails,
Michel <=