採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 3 月 3 日
編集済み: Azzi Abdelmalek 2014 年 3 月 3 日

0 投票

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 件のコメント

satish
satish 2014 年 3 月 3 日
編集済み: satish 2014 年 3 月 3 日
many thanks for prompt reply

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeRandom Number Generation についてさらに検索

製品

質問済み:

2014 年 3 月 3 日

編集済み:

2014 年 3 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by