这个我不知道怎么做,rand(),cdf(),pdf()好像只能使用系统提供的分布,不能使用自定义的分布
你可以参考:Generating random numbers from a piecewise probability distrubution in matlab
http://stackoverflow.com/questio ... trubution-in-matlab
还有这个 piecewisedistribution class
http://www.mathworks.cn/cn/help/ ... tributionclass.html


雷达卡
京公网安备 11010802022788号







