Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
The program quickly outputs n random integers in the range from a to b. The integers are drawn from a uniform distribution to make selection of integers equally probable.
This program is intended to be especially quick with very large ranges of integers and selecting only a very small number of those integers.
User specifies whether output is sorted or random order.
User specifies whether to remove duplicate integers or to allow duplicate integers.
Zitieren als
Edward Zechmann (2026). Random Integer Generator (https://de.mathworks.com/matlabcentral/fileexchange/18443-random-integer-generator), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: MYRANDINT -- Random Integer Generation
Inspiriert: Generate uniform pseudo-random integers from linear range.
Allgemeine Informationen
- Version 1.1.0.0 (6,74 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Updated comments to fix error in the no_duplicates input argument description. |
||
| 1.0.0.0 | Added an option to plot the integers. The plot is helpful in visually inspecting the distribution of the output. |