I'm trying to apply notch (stop) filter and highpass filter simultaneously for my data. Below is the code that I have so far.
Wn=10; % high cutoff
Wn_2=[60 60]; % notch filter
What I'm trying to do is first apply highpass filter to my RawData (X) to obtain filtered data y, and then apply notch filter to y to obtain z.
Below is the graph that I'm getting. Please let me know what is wrong with my code. Thank you in advance for your help!