Info

This question is closed. Reopen it to edit or answer.

search for signal of fixed duration and frequency

1 view (last 30 days)
cob
cob on 18 Jun 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi , I have an audio signal which i have recorded , i need to determine if inside the recorded signal , i have a smaller signal with duration of 250 ms and frequency of 400 Hz. Which method should i use for it ?

Answers (1)

Luffy
Luffy on 18 Jun 2015
Edited: Luffy on 18 Jun 2015
Do the fft of the audio signal. You'll get spikes at the frequencies present in your signal.
How to do fft: doc fft.
Doing fft tells you if there is a signal of 400 Hz in your audio,to know the duration pass your audio through a notch filter of 400 Hz

This question is closed.

Community Treasure Hunt

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

Start Hunting!