evie
Newbie level 2
Matlab DTMF
I need to make a function for filtering dtmf-signals through a filterbank and detecting the frequencies and then figuring out which keys they correspond to.
Pseudo-code-ish:
function key=detect(signal)
detect=0; %sets detect to 0 before checking
for i=1:length(filter_bank)
y=conv(signal,filter_bank(i));
%now, if i've understood it correctly, this should produce an output if the signal contains a frequency that can pass through the filter.
%if y is somethingsomething, detect=1
is that possible?
I don't want to produce the output signal, only detect its response
I need to make a function for filtering dtmf-signals through a filterbank and detecting the frequencies and then figuring out which keys they correspond to.
Pseudo-code-ish:
function key=detect(signal)
detect=0; %sets detect to 0 before checking
for i=1:length(filter_bank)
y=conv(signal,filter_bank(i));
%now, if i've understood it correctly, this should produce an output if the signal contains a frequency that can pass through the filter.
%if y is somethingsomething, detect=1
is that possible?
I don't want to produce the output signal, only detect its response