Azzera filtri
Azzera filtri

Random number, Random integer

4 visualizzazioni (ultimi 30 giorni)
dhiman banerjee
dhiman banerjee il 5 Nov 2019
Risposto: Daniel M il 5 Nov 2019
How To Generate two Non Repeating Random integers from 2 to 6?

Risposta accettata

Daniel M
Daniel M il 5 Nov 2019
x = 2:6;
y = x(randperm(length(x),2));

Più risposte (0)

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by