Explore BrainMass
Share

Matlab plot of the spectrum of the signal

This content was STOLEN from BrainMass.com - View the original, and get the solution, here!

Create a simple low-pass filter consisting of 10 1's in a row
lpf = ones(1,10)

Plot the spectrum of the signal using the command:
plot(abs(fft([lpf zeros(1,246)])));

Indicate the frequency of the first zero in the frequency response in terms of the sampling frequency (frequency(bin#) = (bin#-1)*fs/(N_bins)

© BrainMass Inc. brainmass.com September 22, 2018, 1:27 am ad1c9bdddf - https://brainmass.com/math/discrete-math/matlab-plot-spectrum-signal-79893

Attachments

Solution Preview

Please see the attached file for Matlab codes and plots.

Create a simple low-pass filter consisting of 10 1's in a row
lpf = ones(1,10)

Plot the spectrum of the signal using the ...

Solution Summary

The solution is comprised of Matlab codes and plots of the spectrum of the low pass filter signal.

$2.19