1function x = moment_binotransinv(y)
2% x = moment_binotransinv(y)
4% Inverse binomial transform of
the sequence y_0,y_1,...,y_n,
6% x_n = sum_{k=0}^{n} nchoosek(n,k) * y_k
9% y: vector of length n+1 holding y_0,...,y_n, i.e. y(i)
is the element of
13% x: vector of length n+1 holding x_0,...,x_n, with
the same orientation
17% A. Heindl and A. van de Liefvoort. Moment conversions
for discrete
18% distributions. PMCCS, 2003, eq. (9).
21% x = moment_binotransinv(moment_binotrans([1,2,5,15]))
28 x(i+1) = x(i+1) + nchoosek(i,k) * ycol(k+1);