Azzera filtri
Azzera filtri

Random numbers like lotto

4 visualizzazioni (ultimi 30 giorni)
Marcel Król
Marcel Król il 5 Giu 2020
Commentato: Marcel Król il 17 Giu 2020
Jak narysować 6 liczb 49 in Matlab aby za każdym razem rysować różne liczby? Proszę, pomóż mi, moja droga

Risposta accettata

Walter Roberson
Walter Roberson il 5 Giu 2020
Modificato: Walter Roberson il 5 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by