Home > Archive > Matlab > June 2007 > Undefined function or method 'lognrnd' for
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Undefined function or method 'lognrnd' for
|
|
|
| I am trying to draw random numbers from a lognormal distribution, bu
when is sepcify the mean, standard deviation and the matrix size, i
get the following message
Undefined function or method 'lognrnd' for input arguments of type
'double'.
i am wondering how would i fix such a problem.
Thanks,
| |
| Walter Roberson 2007-06-29, 7:14 pm |
| In article <ef5c20f.-1@webcrossing.raydaftYaTP>,
ammal <alanazi@ualberta.ca> wrote:
>I am trying to draw random numbers from a lognormal distribution, bu
>when is sepcify the mean, standard deviation and the matrix size, i
>get the following message
> Undefined function or method 'lognrnd' for input arguments of type
>'double'.
What version are you using?
For example the following works for me:
lognrnd(10,.2,7,9)
Ah -- lognrnd() is part of the Statistics Toolbox. Do you have that
installed?
--
I was very young in those days, but I was also rather dim.
-- Christopher Priest
|
|
|
|
|