% ex_06_03_1.m : 习题 6.3 clear all fp=400; fs=300;Fs=1000; rp=3; rs=35; wp=2*fp/Fs; ws=2*fs/Fs; [nz,wn]=buttord(wp,w…
Butter+Knife 源代码
汇集 Butter+Knife 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% exa4-22_stmcb.m , for example 4-22 % Design Steiglitz-McBride DF clear all; [b,a] = butter(6,0.2); h = filter(b,a,[1 zero…
% exa4-23_invfreqz.m , for example 4-23 % Design Steiglitz-McBride DF clear all; [b,a] = butter(5,0.2) [h,w] = freqz(b,a,64)…
%----------------------------------------------------------------------------- % exa060601_1.m , for example 6.6.1 % to test bu…
%----------------------------------------------------------------------------- % exa060601_1.m , for example 6.6.1 % to test bu…
%----------------------------------------------------------------------------- % exa060601_1.m , for example 6.6.1 % to test bu…
function [F0, F1, F2, A1, A2, A3, A4, A5, voiced]=formpe(inp) % For details see: Blamey et al., JASA 82, pp.38-47, July 1987. …
function [F0]=pitch(inp) global Srate bf0 af0 nSamples=length(inp); alpha=0.1; % used in the LPF for smoothing %----…
%----------------------------------------------------------------------------- % exa060601_1.m , for example 6.6.1 % to test bu…
% ex_06_03_1.m : 习题 6.3 clear all fp=400; fs=300;Fs=1000; rp=3; rs=35; wp=2*fp/Fs; ws=2*fs/Fs; [nz,wn]=buttord(wp,w…