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

Views290
Basic operations on Matrices
Sampling theorem verification
Computation of unit sample, unit step and sinusoidal response of the given LTI system and verifying its physical reliability and stability properties
Finding the even and odd parts of signal/sequence and real and imaginary parts of signal
Auto correlation and cross correlation between signals and sequences
Genaration of various signals and sequences