- vs1003 this is source code for mp3. based on AVR. hav fun thx.
- gl5 vc++ 2010 的opengl 画图入门1 小程序
- VPN vpn拨号器
- kalman 卡尔曼滤波器是一个“optimal recursive data processing algorithm(最优化自回归数据处理算法)”
- serial_exercise Serial port monitor LabView code to monitor your development based on serial port
- PIC16F877A-LCD-code PIC MICROCONTROLLER BASED LCD DRIVER CODE
文件名称:DetDTMF1
介绍说明--下载内容来自于网络,使用问题请自行百度
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
-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
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
-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DetDTMF1.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.