Question

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

Answer #1

MATLAB CODE

close all,

clear all,

clc,

ProjectPath = pwd;

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

[x, Fs, nbits] = wavread(MusicSignal_);

subplot(1,2,1); plot(x);

title('Original Music Signal Magnitude Plot');

%soundsc(y,Fs);

grid on,

Fc=200; %Cut off Freq in Hz

Order=2;

Wn = Fc/(Fs/2);

b = fir1(Order,Wn,'low'); hd = dfilt.dffir(b);

y = filter(hd,x);

subplot(1,2,2); plot(y); grid on, ylim([-3,3]);

str = strcat('Filtered InputSignal, Fc = ',num2str(Fc),' Hz');
title(str);

figure,

freqz(b,1,512);

Question : Design the low and high pass filter for the signal,
x(t) = 10 sin (10 t) + 1 sin (1000 t) by MATLAB
Is below answer right?
at ?High pass , 5row
shouldn't this change from sin(100*t) ?
sin(1000*t)
x = 10*sin(10*t) + 1*sin(100*t); ? x = 10*sin(10*t) +
1*sin(1000*t); ???
.....................................................................................................................................................
?Low pass
clc;
rng default
Fs=2000;
t=linspace(0,1,Fs);
x=10*sin(10*t)+sin(1000*t)%given signal
n=0.5*randn(size(t));%noise
x1=x+n;
fc=150;
Wn=(2/Fs)*fc;
b=fir1(20,Wn,'low',kaiser(21,3));
%fvtool(b,1,’Fs’,Fs)
y=filter(b,1,x1);
plot(t,x1,t,y)
xlim([0 0.1])
xlabel('Time (s) ')
ylabel('Amplitude')
legend('Original Signal','Filtered Data')...

Design and draw a simple electrical circuit (a combination of a
low-pass and a high-pass filter circuits) that will act as a
bandpass filter for frequencies between 0.1 and 100 rad/s. Generate
the magnitude Bode plot on matlab!!!
Please do the matlab! thank you!

Using Matlab, Design a High-Pass Filter
(HPF) using with a cutoff frequency of 500Hz when
used with a sampling frequency of 1500Hz.
Compare designs using an order-8 IIR elliptic filter to an
order-32 FIR filter by plotting the magnitude of the two designs on
the same plot.

MATLAB FIR filter design.
The audio file, covering the frequency range of roughly 0 to
3000 Hz, is very badly corrupted with high?level noise. Your
problem is to design a digital filter that will sufficiently
attenuate the noise so that the audio speech is intelligible.
(sorry but chegg doesn't allow me to attach the wav file)
Here is the design template:
clear, clc % clear all variables
%% Read in the noisy audio signal from the file 'CapnJ.wav' using audioread...

In your design, please explicitly describe the transfer
function, the bode plot, and the value of passive components
obtained while designing the filter according to the given
specification.
Use Multisim for the circuit design as well as frequency
response analysis, and compare the output (Bode plots) with the
simulation that can be obtained from MATLAB.
Validate your answer using MATLAB.
Design a bandpass passive filter to pass frequencies between 500
Hz and 1500 Hz.

In your design, please explicitly describe the transfer
function, the bode plot, and the value of passive components
obtained while designing the filter according to the given
specification.
Use Multisim for the circuit design as well as frequency
response analysis, and compare the output (Bode plots) with the
simulation that can be obtained from MATLAB.
Validate your answer using MATLAB.
Design a bandpass active filter to pass frequencies between 500
Hz and 1500 Hz, and with K= 20

PLEASE ANSWER QUESTION #2
Design an FIR band-pass filter with cutoff frequencies of π/ 4
and π/ 6 . The filter’s impulse response should have 81 samples
(i.e. N = 81). Use a Blackman filter window.
(a) Plot the filter’s impulse response
(b) Plot the magnitude of the filter’s frequency response, in
dB. (i.e. 20 log(|H(e jω)|))
(c) Print out the MATLAB code used in the filter design
2. Use the filter designed in #1 to filter a random input...

Generate a Matlab Code for amplitude modulated signal by
multiplying a message signal (a low frequency cosine signal) with a
carrier signal (a high frequency cosine signal).
Sketch the Fourier transform of the modulated signal.
Demodulate the modulated signal (with no noise) by again
multiplying it with the same carrier signal.
Sketch the Fourier transform of the signal obtained in c).
Your task is to recover the message signal from the signal in
c). Determine the type of filter you...

In your design, please explicitly describe the transfer
function, the bode plot, and the value of passive components
obtained while designing the filter according to the given
specification.
Use Multisim for the circuit design as well as frequency
response analysis, and compare the output (Bode plots) with the
simulation that can be obtained from MATLAB.
Validate your answer using MATLAB.
Design a highpass active filter with a high-frequency gain of 20
and a corner frequency of 500 Hz.

In your design, please explicitly describe the transfer
function, the bode plot, and the value of passive components
obtained while designing the filter according to the given
specification.
Use Multisim for the circuit design as well as frequency
response analysis, and compare the output (Bode plots) with the
simulation that can be obtained from MATLAB.
Validate your answer using MATLAB.
Design a lowpass active filter with a dc gain of 20 and a corner
frequency of 1500 Hz.

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 6 minutes ago

asked 31 minutes ago

asked 32 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 2 hours ago

asked 2 hours ago