search for signal of fixed duration and frequency

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 ?

1 Comment

where disappeared the newer comments ?

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.

Asked:

cob
on 18 Jun 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!