10 likes | 120 Views
Explore the functions and visual representations of geometric, binomial, and Poisson distributions with MATLAB code examples. Learn to analyze and compare the behavior of these discrete distributions. Great for students and professionals in statistics and mathematics.
E N D
Discrete Distributions • X=0:10; Y=geopdf(X,0.5); bar(X,Y,0.8) • X=0:12; Y=geopdf(X,0.3); bar(X,Y,0.6) • X=0:10; Y=binopdf(X,10,0.6); bar(X,Y,0.8) • X=0:12; Y=binopdf(X,12,0.5); bar(X,Y,0.6) • X=0:10; Y=poisspdf(X,4); bar(X,Y,0.8) • X=0:12; Y=poisspdf(X,6); bar(X,Y,0.6) • legend(‘X \sim b(12,0.6)’,2)