cic_transfert

CIC theorical transfert function

Calling sequence

h = cic_transfert(R, N)
h = cic_transfert(R, N, M)

Parameters

R:

Decimation ratio

N:

Number of integrators / differentiators stages

M:

Optionnal CIC design parameter (default is M=1)

h:

CIC transfert function (not taking into account the decimation)

Description

This function computes the theorical transfert function of a CIC filter, when one does not look at the decimation effect. The CIC filter responses is defined as: (e.g. a cascade of moving average filters, each of identical length ).