I have the probability-generating function G(s) as following , how got the mentioned Probability-mass function f(k) from it ??
2 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/340825/image.jpeg)
syms u s a k;
G =(1+a*(1+u)-a*(1+u)*s)/((1+u-u*s)*(1+a-a*s));
f(s)=diff(G,s,k);
pmfa=f(0)/factorial(k);
but the result is zero !!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numbers and Precision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!