Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 3 Mar 2014
Modifié(e) : Azzi Abdelmalek le 3 Mar 2014

0 votes

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 commentaire

satish
satish le 3 Mar 2014
Modifié(e) : satish le 3 Mar 2014
many thanks for prompt reply

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Random Number Generation dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by