채택된 답변

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 Exchange에서 Random 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