Purchase Solution

Matlab Spectra Plot : Convolution with Low-Pass Filter

Not what you're looking for?

Ask Custom Question

Lpf = ones(1,10);
y=abs(fft([lpf zeros(1,246)]));

Create a signal consisting of a 500 and 1000Hz cosine sampled t 10kHz.
fs= 10e3;
t =(0:1:0.02*fs);
f1=500;
f2=1000;
s=cos(2*pi*t*f1/fs)+cos(2*pi*t*f2/fs);

Plot the convolution of the signal with lpf, from the command filtered=conv(s,lpf)

**Plot the magnitude of the spectra of the pre and post filtered signals. Explain your results in terms of the spectrum of the signals and of the filter**

**This is the part I need help with.

Attachments
Purchase this Solution

Solution Summary

A Matlab Spectra Plot and Convolution with Low-Pass Filter are investigated. The solution is detailed and well presented. The response received a rating of "5/5" from the student who originally posted the question.

Solution Preview

lpf = ones(1,10);
y=abs(fft([lpf zeros(1,246)]));

Create a signal consisting of a 500 and 1000Hz cosine sampled t 10kHz.
fs= 10e3;
t =(0:1:0.02*fs);
f1=500;
f2=1000;
s=cos(2*pi*t*f1/fs)+cos(2*pi*t*f2/fs);

Plot the convolution of the signal with lpf, from the command filtered=conv(s,lpf)

**Plot the magnitude of the spectra of the pre and post filtered ...

Purchase this Solution


Free BrainMass Quizzes
Multiplying Complex Numbers

This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Probability Quiz

Some questions on probability