Random Integers with Given Sum

Version 1.0.0 (1,3 ko) par Jonathan
Generates random integers with a given total sum
6 téléchargements
Mise à jour 5 déc. 2022

Afficher la licence

Description: sumrandi uses randi to generate random numbers with a given
sum
R = sumrandi(IMIN,IMAX,N,S) returns an N-by-N matrix containing pseudorandom
integer values drawn from the discrete uniform distribution on IMIN:IMAX
then generates new numbers such that their sum is S.

Citation pour cette source

Jonathan (2024). Random Integers with Given Sum (https://www.mathworks.com/matlabcentral/fileexchange/121742-random-integers-with-given-sum), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2022a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0