0% found this document useful (0 votes)
23 views6 pages

Lab 4-1

The document is a laboratory manual for the course ELE462 Digital Communication Systems at Canadian International College. It focuses on the probability density function (pdf) and provides syntax and examples for generating random variables from different distribution families. The manual includes practical exercises for students to plot random variables and their corresponding PDFs.

Uploaded by

Diaa Abossrie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views6 pages

Lab 4-1

The document is a laboratory manual for the course ELE462 Digital Communication Systems at Canadian International College. It focuses on the probability density function (pdf) and provides syntax and examples for generating random variables from different distribution families. The manual includes practical exercises for students to plot random variables and their corresponding PDFs.

Uploaded by

Diaa Abossrie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Canadian International College (CIC)

DEPARTMENT OF
ELECTRONICS & ELECTRICAL
COMMUNICATIONS ENGINEERING

ELE462
Digital Communication Systems
(LABORATORY MANUAL)

BY:
Eng. Amel Mohamed
Eng. Amira EzzEl-din

Spring 2024
LAB #4: The Probability density function

Course Number & Name:


ELE 462

Digital Communication

Semester & Year:


Spring 2020/2021

Name of Student: Grade:

Date of Report Instructor Signature:


Submitted:
PDF Function

Probability density function

Syntax

y = pdf('name',x,A)
y = pdf('name',x,A,B)
y = pdf('name',x,A,B,C)
y = pdf('name',x,A,B,C,D)

Description
y = pdf('name',x,A) returns the probability density function (pdf) for the one-
parameter distribution family specified by 'name' and the distribution parameter A,
evaluated at the values in x.

y = pdf('name',x,A,B) returns the pdf for the two-parameter distribution family


specified by 'name' and the distribution parameters A and B, evaluated at the values in
x.

y = pdf('name',x,A,B,C) returns the pdf for the three-parameter distribution family


specified by 'name' and the distribution parameters A, B, and C, evaluated at the
values in x.

y = pdf('name',x,A,B,C,D) returns the pdf for the four-parameter distribution family


specified by 'name' and the distribution parameters A, B, C, and D, evaluated at the
values in x.

Page 1
Example (1)

Generate a Uniform distributed random variable at the interval [-6,4], plot the random
variable and its PDF.
Solution

Page 2
Example (2)

Generate a Normal distributed random variable with zero mean and unit variance with
two different methods. plot the random variable and its PDF.

Solution

Page 3
Page 4

You might also like