Probability Density Function

Integral representation of the probability Distribution

Generating a PDF based on the radius of the unit circle

create a linspace from -1 to 1based on the no.of Points needed (1-r).^p

If its a uniform pdf then lets say its 1 every where. then sum(pdf(:)) gives row*col.

Now we want to generate a pdf such that sum(pdf(:)) = row * col * sampling rate;

use the distance from the centre to create the pdf.

The code is genpdf1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: