Description: for K_ind = 1 : length(k)
y = goertzel_algo ( dtmf_output,k(K_ind),Num_of_samples)
if (K_ind == 1) this appends each Kth array to
y1(1 : Num_of_samples) = y( 1 : Num_of_samples) the output array
else
v_sum = v_sum+ Num_of_samples
y1(v_sum+ 1 : v_sum+ Num_of_samples) = y( 1: Num_of_samples)
end
ymax(K_ind) = max(y)
end
Goertzel_array = ymax
To find the two maximum peaks
temp = ymax(1)
temp1 = 1
for s = 2:8
if (ymax(s) > temp)
temp = ymax(s)
temp1 = s
To Search:
File list (Check if you may need any files):
DetDTMF1.m