# Sum of probability distributions (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

See full specifications

## Sum of probability distributions (Scripts) Publisher's description

### SUMPDF Probability distribution of the sum of distributions

SUMPDF Probability distribution of the sum of distributions

[S,P,C]=SUMPDF(X1,P1,N1,X2,P2,N2,...) will return the distribution of the sum of distribution P1, at values at X1, N1 times plus the distribution P2, at values in X2, N2 times...

The output vectors, S, P, and C, are respectively the list of unique totals, probability of yielding that sum, and the count distribution of obtaining that sum among all combinations.

Example:
Two distributions, on different intervals, each repeated a different number of times. What is the distribution of the possible outcomes? Plot the outcome, showing the distribution.

X1=[-1 0 2]; P1=[.1 .2 .7]; N1=10;
X2=[ 0 1 2]; P2=[.3 .5 .2]; N2=7;
[S,P,C]=sumpdf(X1,P1,N1,X2,P2,N2);

subplot(2,1,1), plot(S,P), grid on
title('Probability distribution')
subplot(2,1,2), plot(S,C), grid on
title('Number of combinations possible to obtain each outcome')

This illustrates that while an outcome of 10 has the most combinations of ways to happen, due to the given probability distributions it is an outcome of 20 that is actually most likely.

#### System Requirements:

MATLAB 7.13 (2011b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Sum of probability distributions (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation