Random numbers like lotto

11 visualizaciones (últimos 30 días)
Marcel Król
Marcel Król el 5 de Jun. de 2020
Comentada: Marcel Król el 17 de Jun. de 2020
Jak narysować 6 liczb 49 in Matlab aby za każdym razem rysować różne liczby? Proszę, pomóż mi, moja droga

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Jun. de 2020
Editada: Walter Roberson el 5 de Jun. de 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 comentario
Marcel Król
Marcel Król el 17 de Jun. de 2020
Thank you very much!!! Best wishes

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by