MATLAB FILTERING If you have watched the FIFA World Cup, chances are you have be
ID: 2248268 • Letter: M
Question
MATLAB FILTERING
If you have watched the FIFA World Cup, chances are you have been tormented by the incessant drone of the Vuvuzela. A Vuvuzela is a long plastic horn capable of producing a loud monotone note that is very annoying and drowns out TV announcers. One way to reduce the Vuvuzela noise and improve the clarity of commentary in broadcasts is by using frequency-selecting filtering that selectively suppresses particular frequency components generated by the Vuvuzela. However, bear in mind that there may be some overlap between the frequency components of the Vuvuzela and the frequency components in speech. This means that too much filtering may
attenuate the voices of commentators, which is undesirable. Given two audio files. One is a sample audio recording contaminated by
Vuvuzela noise The other is a sample of Vuvuzela sound with no other audio
The task:
You are required to design a filtering scheme in MATLAB to remove the Vuvuzela noise from with the aim of recovering as much audio clarity as possible while, at the same time, keeping the overall delay below 0.2 seconds
Explanation / Answer
clc
clear all
A=[4 1 2 -3; -3 3 -1 4; -1 2 5 1; 5 4 3 -1];
b=[-16; 20; -4; -10];
[L,U,P]=lu(A);
%verifying PA=LU
PA=P*A
LU=L*U
disp('PA-LU=')
PA-LU
% finding solution with LUP method
LY=P*b;
Y=inv(L)*LY;
xlu=inv(U)*Y
%finding solution with regular inversion
x=inv(A)*b;
%verifying the results
disp('norm(xlu-x)')
norm(xlu-x)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.