No BSD License  

Highlights from
Tektronix RSA3000A/B User-Defined Filter Converter

Tektronix RSA3000A/B User-Defined Filter Converter

by

 

22 Jun 2008 (Updated )

Convert MATLAB filter coefficient files to a RSA3000-compatable format

singlewide
function Hd = singlewide
%SINGLEWIDE Returns a discrete-time filter object.

%
% M-File generated by MATLAB(R) 7.6 and the Signal Processing Toolbox 6.9.
%
% Generated on: 30-May-2008 15:39:45
%

% FIR constrained equiripple Highpass filter designed using the FIRCEQRIP
% function.

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

N     = 100;             % Order
Fc    = 10000;           % Cutoff Frequency
slope = 0;               % Stopband Slope
Dstop = 0.0001;          % Stopband Attenuation
Dpass = 0.057501127785;  % Passband Ripple

% Calculate the coefficients using the FIRCEQRIP function.
b  = firceqrip(N, Fc/(Fs/2), [Dstop, Dpass], 'slope', slope, 'high');
Hd = dfilt.dffir(b);

% [EOF]

Contact us