How to create a synthetic signal then make Notch Filter
6 views (last 30 days)
Show older comments
Hey guys, Is anybody know how to create a synthetic signal which contain frequencies 1Hz, 5Hz, 28 Hz?
Then I'd like to make Notch Filter in Matlab? for example I'd like to filter these following frequencies : 1Hz, 5 Hz, 33Hz
your help is needed
0 Comments
Answers (1)
Maria Stavrinou
on 26 Apr 2017
Fs=1; t=0:1/Fs:(200-(1/Fs)); freqRes=Fs/length(t);
F1=0.04; F2=0.3; x=1*sin(2*pi*t*F1);%+2*cos(2*pi*t*F2)+1*sin(2*pi*t*0.2); figure; plot(t,x); hold on;
1 Comment
Maria Stavrinou
on 26 Apr 2017
I just give you my program for other frequencies but you can change it for yours!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!