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

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

 Akzeptierte Antwort

0 Stimmen

用slicesample函数实现

Weitere Antworten (0)

Kategorien

Mehr zu 随机数生成 finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!