MATLAB Erlang B-Formula
How can I write Erlang B Formula a开发者_如何学Cs you see below in MATLAB?
I have tried;
GOS=((A.^C)/factorial(C))/...
but couldn't complete it. Thnx anyway..
If A
and C
are scalars, you can use:
GOS = A.^C/factorial(C) / sum(A.^[0:C] ./ factorial([0:C])).
精彩评论