필터 지우기
필터 지우기

how to generates random numbers ?

조회 수: 1 (최근 30일)
m. muner
m. muner 2016년 6월 29일
댓글: m. muner 2016년 6월 30일
hello anyone know how to generate random number as N*1 vector but their summation should be specific number for example if this number is 5 the random numbers should be {3 0 2}or{1 2 1} or any combination that give summation of 5

채택된 답변

José-Luis
José-Luis 2016년 6월 29일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by