Hey,
I'm new to MATLAB and was stuck on a problem which requires me to calculate the expectation value of a poisson distribution by summing the probability mass function *k ie P = k*lambda^k*exp(-lambda)/factorial(k) for k= 1 to infinity. I thought of using "for k1:1000 P =... " but then had no...