matrandbin

Procedure to generate a randomized binomial matrix (0's & 1's).

Vous suivez désormais cette soumission

This file generates a matrix of 'n' (rxc) random numbers (0's & 1's) with a binomial distribution (randomized binomial matrix). The parameter 'p' is the probability associated to get ones [P(x=1) = p]. The matrix generated can be squared (r==c) or not (r~=c).

It needs to input r-matrix rows, c-matrix columns, p-probability (in) associated to the ones (default = 0.5).

The outputs are a complete summary of the randomized binomial matrix procedure and a selected matrix of the random numbers.

Citation pour cette source

Antonio Trujillo-Ortiz (2026). matrandbin (https://fr.mathworks.com/matlabcentral/fileexchange/4641-matrandbin), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Random Number Generation dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

It was added an appropriate format to cite this file.