Filter löschen
Filter löschen

how to generates random numbers ?

1 Ansicht (letzte 30 Tage)
m. muner
m. muner am 29 Jun. 2016
Kommentiert: m. muner am 30 Jun. 2016
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

Akzeptierte Antwort

José-Luis
José-Luis am 29 Jun. 2016

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by