In randfixedsum function, how to generate random integer matrices?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
in this function,
i want to generate random integer matrices.
how can do this?
5 commentaires
Walter Roberson
le 16 Mar 2017
As I indicated, the routine you are looking at is not suitable for the case where you need the random values to be integral. The link I provided shows the needed code.
Réponses (1)
Walter Roberson
le 15 Mar 2017
randfixedsum cannot be used to generate integers fairly.
0 commentaires
Voir également
Catégories
En savoir plus sur Bar Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!