Performing random numbers generator Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: gDiscrPdfRnd%20funct.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Gianluca Dorini (View more)

Performing random numbers generator script description:




Publisher review:
Performing random numbers generator extracts random numbers distributed over a discrete set; the PDF is user-defined This function extracts a scalar/vector/matrix of random numbers with discrete Probability Distribution Function. The PDF is specified by the user as a input vector.This function is designed to be fast, and it is implemented within a .mex fileFollowing Olivier B. comments (that I acknowledge for his comments), I performed cross-comparisons with randp. gDiscrPdfRnd is faster with a ratio that increases with the number of number, i.e. for about 3 times faster for 10^6 numbers to over 40 times faster for 10^7 numbers.Moreover, for large random arrays, randp seriously surcharges the RAM memory, whereas gDiscrPdfRnd limits thememory use to what is essential (tanksto the coding). In what follows the details of thecomparison are given.>> tic;R = randp([1 3 2],1000000,1);tocelapsed_time =0.4840>> tic;R = gDiscrPdfRnd([1 3 2],1000000,1);tocelapsed_time =0.1570>> tic;R = randp([1 3 2],10000000,1);tocelapsed_time =68.5780>> tic;R = gDiscrPdfRnd([1 3 2],10000000,1);tocelapsed_time =1.6410>> 68.5780/1.6410ans =41.7904 Requirements: · MATLAB Release: R13 · MATLAB Compiler
Performing random numbers generator is a Matlab script for Statistics and Probability scripts design by Gianluca Dorini. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5