请问怎么用rando​m命令生成指定函数的​随机数呢?,

A=random('wbl',3.6314,268.4,1,500);
random这个命令可以生成指数、正态、威布尔分布的随机数,但是现在我想要某一个函数的随机数,该怎么办呢?

 채택된 답변

0 개 추천

用slicesample函数实现

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 随机数生成에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!