This document is a laboratory report on analyzing binomial distributions using Matlab. It includes:
1. Using Matlab to calculate binomial probabilities and plot binomial probability density functions.
2. Generating random numbers from a binomial distribution and plotting the histogram.
3. Studying how the binomial probability density function changes when varying the number of trials and probability of success. The probability of success decreases as the number of trials increases.
This document is a laboratory report on analyzing binomial distributions using Matlab. It includes:
1. Using Matlab to calculate binomial probabilities and plot binomial probability density functions.
2. Generating random numbers from a binomial distribution and plotting the histogram.
3. Studying how the binomial probability density function changes when varying the number of trials and probability of success. The probability of success decreases as the number of trials increases.
This document is a laboratory report on analyzing binomial distributions using Matlab. It includes:
1. Using Matlab to calculate binomial probabilities and plot binomial probability density functions.
2. Generating random numbers from a binomial distribution and plotting the histogram.
3. Studying how the binomial probability density function changes when varying the number of trials and probability of success. The probability of success decreases as the number of trials increases.
هندسة االتصاالت واجب عملي تحليل شبكاث االتصاالث االسم :ربا أحمد حليم أحمد رقم التسجيل 39164: Laboratory objectives 1. Use of Matlab in solving binomial problems 2. Plotting of binomial pdf 3. Study of pdf parameters
1. use of matlab in solving binomial problems
Q1: Find the probability of getting exactly 2 heads in 6 tosses of a fair coin ? Solve The probability = binopdf(2,6,0.5) = 0.234 Exercise: What is the probability that in five rolls of a fair die, a number 4 appears twice? solve The probability = binopdf(2,5,0.166666) = 0.1608 2. Graphicalformula of Binomial distinction function (PDF) Generating random numbers following binomial distribution matlab code: R = binornd(10,0.5,1000,1); b=hist(R)/1000; plot(b,'*') sum(b) 3. Study of pdf parameters Case one: -Set trials value to 5 and change the prob. value (observe the effect) -set prob to 0.5 and change the trials value (observe the effect) Case Two: - set trials value to 4 and write the higher probability of success ? solve Higher prob. of success = 0.357 -change the trial value to 8 and write the higher probability of success: solve Higher prob. of success = 0.273 :التعليل .تقل اعلى قيمت للنجاح عند زيادة عدد المحاوالث