Matlab Tutorial I
Matlab Tutorial I
Topics Covered:-
Random Variable (RV), Random Vector (RVec), and Random/Stochastic Process (RP)
Generation
Ensemble Characteristics: Expectation, Variance, Auto-correlation, Power Spectral Density
Denoising
1. Get/Read a speech signal (download from the Internet or record your voice microphone) into
MATLAB and plot it.
2. Denote it as the speech signal v ( ).
3. Generate zero-mean Gaussian random noise η( ) using MATLAB function normrand. Assume
as last two digits or any combination of two digits from last four digits of your roll number in
case the last two digits are zeros.
4. Add η( ) to v ( ) (which may be induced in an speech recording system). Denote the resultant
noisy signal as s( ), that is, s( ) = v ( ) + η( ) .
5. Generate a set of = 3, 10, 20, 50, 100 noisy images, {s ( ), = 1,2, … , }.
6. Compute ensemble average speech signal s̅ (
) and variance for each and show it in figures.
7. Measure Mean Square Error (MSE) between s(t), noisy signals, {s ( ), = 1,2, … , }
What is your interpretation of MSE results? Provide some theoretical analysis. (Hint: determine the
mean and variance of s(t) and ̅ (t).