No BSD License  

Highlights from
DTMF Encoder/Decoder with GUI using FFT,goertzel,Filter Banks

image thumbnail

DTMF Encoder/Decoder with GUI using FFT,goertzel,Filter Banks

by

 

A phone-like DTMF Encoding/Decoding tool

mynotchfilter(N,cutoff,R,Fs),
function [B,A] = mynotchfilter(N,cutoff,R,Fs),
%MYNOTCHFILTER Returns a discrete-time filter object

%
% M-File generated by MATLAB(R) 7.0.1 and the Signal Processing Toolbox 6.2.1.
%
% Generated on: 28-Aug-2005 18:31:52
%

% Chebyshev Type II Bandpass filter designed using FDESIGN.BANDPASS.

% All frequency values are in Hz.
Fs = 8192;  % Sampling Frequency

Fstop1 = cutoff-10;        % First Stopband Frequency
Fpass1 = cutoff-1;        % First Passband Frequency
Fpass2 = cutoff+1;        % Second Passband Frequency
Fstop2 = cutoff+10;        % Second Stopband Frequency
Astop1 = 60;          % First Stopband Attenuation (dB)
Apass  = 1;           % Passband Ripple (dB)
Astop2 = 60;          % Second Stopband Attenuation (dB)
match  = 'passband';  % Band to match exactly

Wn=[2*Fpass1/Fs 2*Fpass2/Fs];

[B,A]=cheby2(N,20,Wn);


% [EOF]

Contact us