% file name: Poisson_prob_mu.m

% the program asks the user to enter the values

% of lambda and t and returns p(k).

%

% created June. 18, 2000, F. Elguibaly

%

mu = input('Enter the value of mu please:');

k = input('Enter the value of k please: ');

p_poisson = (mu)^k * exp(-mu)...

* factorial(k)

 


Go back to book Homepage Go back to book's matlab Homepage Go back to book's Chapter 1 Homepage

Copyright © 2001 Northstar Digital Design, Inc.