Filter löschen
Filter löschen

Random numbers like lotto

4 Ansichten (letzte 30 Tage)
Marcel Król
Marcel Król am 5 Jun. 2020
Kommentiert: Marcel Król am 17 Jun. 2020
Jak narysować 6 liczb 49 in Matlab aby za każdym razem rysować różne liczby? Proszę, pomóż mi, moja droga

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Jun. 2020
Bearbeitet: Walter Roberson am 5 Jun. 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 Kommentar
Marcel Król
Marcel Król am 17 Jun. 2020
Thank you very much!!! Best wishes

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by