


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



E E 2 7 5 Lab July 12, 2006
Some signals can be compressed and recovered using a form of autoregressive filtering known as linear predictive coding (LPC). This lab will examine the LPC model.
Autoregressive models use past behavior of a process to predict its future behavior. The most basic model uses just one sample of past behavior, AR(1):
f (n) = ρ 1 f (n − 1) + n(n)
where n(n) is Gaussian white noise. (This is also known as a Markov process.)
Higher-order models are extensions of the first-order model. Here is AR(2):
f (n) = ρ 1 f (n − 1) + ρ 2 f (n − 2) + n(n)
Here is AR(p):
f (n) = ρ 1 f (n − 1) + ρ 2 f (n − 2) +... + ρpf (n − p) + n(n)
LPC10 (p = 10) is often used for speech processing.
In this lab, you’ll be using Microsoft Windows-specific tools for getting a signal into and out of Matlab.
(If you know that the microphone and speakers are working on your system, you can skip ahead to Microphone and Speakers in Simulink, below.)
©c2006GM
Start and set up the Sound Recorder utility:
Try recording some speech with the Sound Recorder:
Start Matlab, then start Simulink by typing: simulink
The Simulink Library Browser will come up.
Select from the pulldown menus:
Get the necessary Simulink blocks:
Test the Simulink blocks:
How can you modify the model to verify that it is performing the processing that it claims to perform?
(The material in this lab handout was put together by Paul Beliveau and derives principally from the MathWorks training document “Simulink for Signal Processing”, 2006.)
©^ c2006GM