To apply a notch filter on periodic noise in Matlab, you can follow these steps:
main.m62 chars2 lines
fft
main.m33 chars2 lines
main.m164 chars6 lines
main.m138 chars6 lines
filtfilt
main.m46 chars2 lines
main.m131 chars7 lines
This should result in a plot with two signals, one showing the original noisy signal and the other showing the signal after applying the notch filter to remove the periodic noise.
gistlibby LogSnag