在限制条件下生成随机数的问题。
Ältere Kommentare anzeigen
求教,需要生成系列随机数,要求生成3个随机数,总和为18,且要求每个随机数的范围在[0,12]内,该如何生成?谢谢
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 随机数生成 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!