Академический Документы
Профессиональный Документы
Культура Документы
roll_off = 0.5;
transition_bandwidth = 2*f_cut_off*roll_off; % Tr bandwidth for RC pulse
17th Mar 2007 rc_pulse = firrcos(64, f_cut_off, transition_bandwidth, 1/Ts);
len_rc = length(rc_pulse);
bb_signal = zeros(1,200); % create a vector to store baseband signal
Instructor for i = 1:length(bits) % copy raised cosine pulses with NSPS samples betwwen two succesive peaks
bb_signal((i-1)*NSPS+1 : (i-1)*NSPS + len_rc) = bb_signal((i-1)*NSPS+1 : (i-1)*NSPS + len_rc) +
WASEEM KHAN rc_pulse*bits(i);
end
plot(bb_signal);
Probability Definitions
Probability is a number assigned to an event that An experiment is a situation involving chance or
indicates how likely it is that the event will occur when a probability that leads to results called outcomes.
random experiment is performed. An outcome is the result realized after performing the
If an experiment is performed N times and a particular experiment once.
event A occurs n times, probability of occurrence of A can Sample space S of a random experiment is the set of all
be expressed as n possible outcomes.
P ( A) lim
N N An event is a set of one or more outcomes.
Probability can also be expressed as Probability is the measure of how likely an event is.
Number of ways event A can occur
P ( A)
Total number of possible outcomes
The possible outcomes of this experiment are 1, 2, 3, 4, 5 and 6. A large basket of fruit contains 3 oranges, 2 apples and
Hence sample space ={1, 2, 3, 4, 5, 6} 5 bananas. If a piece of fruit is chosen at random, what
P(1) = 1 / 6 [ Event = {1} ] is the probability of getting an orange or a banana?
P(3) = 1 / 6 [ Event = {3} ] P (orange or banana) = (3+5) / 10 = 4 / 5
P(even) = 3 / 6 = 1/ 2 [ Event = {even} ]
P(odd) = 3 / 6 = 1/ 2 [ Event = {odd} ] A pair of dice is rolled. What is the probability of getting a
P(outcome divisible by 3) = 2 / 6 =1 / 3 sum of 2?
1
Mutually Exclusive Events Properties of Probability
In general, events E and F are said to be mutually exclusive if and
1:
only if they have no elements in common.
e.g. sample space for rolling a die= S = {1, 2, 3, 4, 5, 6},
A is the event of even number outcome i.e. A = {2, 4, 6} and
2:
B is the event of odd number outcome i.e. B = {1, 3, 5},
A and B are mutually exclusive, because they have NO elements in common. 3:
If event C is an outcome less than 4 i.e C = {1, 2, 3}. 4: For mutually exclusive events E and F
Are events C and B are mutually exclusive? P(E F) P(E ) P(F )
No, because they have one element, the number 2, in common.
For events that are not mutually exclusive
P(E F) P(E ) P(F ) P(E F)
2
Theorem of Total Probability Bayes Theorem
Let B1, B2, ., BN be mutually exclusive events whose union
Given that B1, B2, ., BN are N partitions of a sample space .
equals the sample space S. We refer to these sets as Suppose that event A occurs, what is the probability of event
partitions of S. Bk?
An event A can be expressed as
A=A S=A (B1 B2 .. BN) Using the definition of conditional probability and theorem of
= (A B1) (A B2) (A BN) total probability, we obtain
Since B1, B2, ., BN are mutually exclusive,so P ( A | B k ). P ( B k )
P ( Bk | A)
P(A) = P(A B1) + P(A B2) + + P(A BN) N
P ( A | B m ). P ( B m )
and therefore m 1
B1 B2 BN
P(A) = P(A|B1) P(B1) + .
A This is known as Bayes theorem or Bayes rule and is one of
+ P(A|BN) P(BN) the most useful relations in probability and statistics.
B3 B4 BN-1
A1 1-p B1
3
This document was created with Win2PDF available at http://www.daneprairie.com.
The unregistered version of Win2PDF is for evaluation or non-commercial use only.