How to find specific frequency in signal

2 views (last 30 days)
Dear
I have signal 30000x2 size.
i want to find out the specific reqency in signal like 50hz noise and band of 60-2000hz freq.
How can i do it?
untitled.jpg

Accepted Answer

Star Strider
Star Strider on 11 Aug 2019
If you have R2018a or later and the Signal Processing Toolbox, use the bandpass function to filter your signal.
  8 Comments
Ali Asghar
Ali Asghar on 16 Aug 2019
to clean 50hz from the signal, can i use
bandstop(signal,[49 50],Fs); ??
Star Strider
Star Strider on 16 Aug 2019
I would use:
[signal_filtered, df] = bandstop(signal, [49 51], Fs);
You can then also use ‘df’ with filtfilt to filter other signals.

Sign in to comment.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!