Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 3 Mar 2014
Modificato: Azzi Abdelmalek il 3 Mar 2014
Suppose N=[0.11 0.23 0.25 0.05 0.5]
N>=0.2
The result is
0 1 1 0 1
If you multiply the result by 2 you will get
0 2 2 0 2
and so on

1 Commento

satish
satish il 3 Mar 2014
Modificato: satish il 3 Mar 2014
many thanks for prompt reply

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Random Number Generation in Centro assistenza 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