Question

MATLAB. Design your own low-pass shelving filter which can boost the low frequency of given music signal. After designin...

MATLAB. Design your own low-pass shelving filter which can boost the low frequency of given music signal. After designing filter, apply the filter to the original music signal and observe the result. Include following plots.
A. Magnitude and phase plot of your filter.
B. Magnitude plot of original signal
C. Magnitude plot of filtered signal

0 0
Add a comment Improve this question Transcribed image text
Answer #1

close all,
clear all,
clc,

f = fdesign.parameq('F0,BW,BWp,Gref,G0,GBW,Gp,Gst',...
0, 0.3, 0.2, 0, 4, 2, 3.5, 0.5);
h = design(f);
hfvt = fvtool(h,'Color','white');
set(hfvt,'Filters',h);
legend(hfvt,'Lowpass Shelving Filter');

ProjectPath=pwd;
filename = strcat(ProjectPath,'\Sample.wav');

[x, Fs, nbits] = wavread(filename);
subplot(3,1,1); plot(x);
title('Original Sample.wav File Plot');
%soundsc(y,Fs);
y = filter(h,x);
subplot(3,1,2); plot(y); grid on, ylim([-3,3]);
str = strcat('Filtered InputSignal, Fc = ',num2str(Fc),' Hz'); title(str);

Magnitude Response (dB) Lowpass Shelving Fiter 0.F 0.2 0.9 Normalzed Frequency (x rad/sample)Original Sample.wav File Plot 0.2 -0.2 10 040 x 10 Filtered InputSignal, Fc -0 Hz 10 10*

Add a comment
Know the answer?
Add Answer to:
MATLAB. Design your own low-pass shelving filter which can boost the low frequency of given music signal. After designin...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT