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.

UpdatedFeb 02, 2020

Views572
Sampling theorem verification
Finding the even and odd parts of signal/sequence and real and imaginary parts of signal
Genaration of various signals and sequences
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
Basic operations on Matrices