I have the probability-generating function G(s) as following , how got the mentioned Probability-mass function f(k) from it ??

조회 수: 1 (최근 30일)
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개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by