2.1.22.3.13 ocmsp_impzlength


Description

Get the length of the impulse response for a digital filter, calculating by coefficients of transfer function.

Syntax

int ocmsp_impzlength( UINT * pn, const double * pb, UINT nb, const double * pa, UINT na )

Parameters

pn
[output] length of impulse response
pb
[input] filter numerator coefficients
nb
[input] size of numerator coefficients
pa
[input] filter denominator coefficients
na
[input] size of denominator coefficients

Return

Return OE_NOERROR if succeed, otherwise, non-zero error code is returned (OE_NULL_POINTER, OE_INVALID_SIZE or OE_BAD_PARAM)

Examples

Remark

See Also

ocmsp_impzlength_sos

Header to Included

ocmsp.h

Reference