Generation of random number

View: New views
2 Messages — Rating Filter:   Alert me  

Generation of random number

by German Ocampo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good afternoon

Is in octave some function for generation of random numbers similar to
pearsrnd from matlab?


Thanks

German
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Generation of random number

by dbateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

German Ocampo wrote:
> Good afternoon
>
> Is in octave some function for generation of random numbers similar to
> pearsrnd from matlab?
>
>
> Thanks
>
> German
No, but if you know the type of the distribution that will be returned
by pearsrnd all of the possible distribution types exist in Octave..
Given that I suppose it should be relatively simple to write the
pearsrnd function and would just be a distribution selection and
dispatch to another function..

Regards
David

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave