Effacer les filtres
Effacer les filtres

Random numbers like lotto

4 vues (au cours des 30 derniers jours)
Marcel Król
Marcel Król le 5 Juin 2020
Commenté : Marcel Król le 17 Juin 2020
Jak narysować 6 liczb 49 in Matlab aby za każdym razem rysować różne liczby? Proszę, pomóż mi, moja droga

Réponse acceptée

Walter Roberson
Walter Roberson le 5 Juin 2020
Modifié(e) : Walter Roberson le 5 Juin 2020
randperm(49, 6)
The "6/49" lotteries here also involve an "bonus" or "extra" number, in which case it might be randperm(49, 7) with the last number having special meaning.
  1 commentaire
Marcel Król
Marcel Król le 17 Juin 2020
Thank you very much!!! Best wishes

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by