cic_freq

Frequency response of a CIC filter

Calling sequence

mag = cic_freq(R, N, M, nu)

Parameters

R:

decimation / interpolation factor

N:

number of integrators / differenciators

M:

design parameter

nu:

normalized frequency, between -0.5 and 0.5 (can be a 1d vector)

mag:

Output magnitude, computed at each frequency point

Description

This function computes the CIC frequency response (in magnitude) at the specified normalized frequencies . The magnitude is computed as:

Example

R = 4, N = 8, M = 1;
nu = linspace(0,0.5,512);
mag = cic_freq(R,N,M,nu);
clf(); plot(nu,20*log10(mag+1e-10));

CIC filter frequency response (SINC^N)


See also