To find a moment generating function of a discrete random variable
AIM: To find a moment generating function of a discrete random variable
EQUIPMENTS:
PC with windows (95/98/XP/NT/2000).
MATLAB Software
MATLAB PROGRAM:
clear all;
close all;
s=0;t=1;
x=[1 2 3 4 5 6];
p=[1/6 1/6 1/6 1/6 1/6 1/6];
for i=1:6
s= sum(exp(t*x(i)).*p(i))
end
disp(s)
RESULT:
s = 0.4530
s = 1.2315
VIVA QUESTIONS
1. What is Aliasing Effect.
Ans.If the frequency of reproduction is less than sampling frequency samples will overlap and cause an error called Aliasing Effect.
2.what is Under sampling.
Ans:If fs<2fm then sampling called under sampling.
3. What is Over sampling.
Ans: If fs>2fm then sampling called under sampling.

CreatedFeb 02, 2020

UpdatedFeb 02, 2020

Views66
Introduction
Basic operations on Matrices
Genaration of various signals and sequences
Operations on signals and sequences
Finding the even and odd parts of signal/sequence and real and imaginary parts of signal
Verification of Linearity and time invariance properties of a given continuous/discrete system
Linear Convolution
Auto correlation and cross correlation between signals and sequences
Computation of unit sample, unit step and sinusoidal response of the given LTI system and verifying its physical reliability and stability properties
GIBBS phenomenon
Sampling theorem verification
Finding the Fourier transform of a given signal and plotting its magnitude and phase spectrum
Laplace Transforms
Locating the zeros and poles and plotting the pole zero maps in zplane for the given transfer function
Gaussian Noise
Verification of Wiener Khinchin relation
Removal of noise by autocorrelation/crosscorrelation
Extraction of Periodic signal masked by noise using correlation.
Checking a Random process for stationarity in wide sense
To find a mean and variance of a discrete random variable
To find a moment generating function of a discrete random variable
Computation of Energy of sinusoidal signal
Computation of energy of rectangular pulse
Computation of Average Power
Waveform Synthesis
Find and plot the cumulative distribution and probability density functions of a random variable
Verification of central limit theorem