ocmsp_impzlength_sos

 

Description

Get the length of the impulse response for a digital filter, calculating by second-order-section.

Syntax

int ocmsp_impzlength_sos( UINT * pn, const double * pSOS, UINT nsec )

Parameters

pn
[output] length of impulse response
pSOS
[input] second-order section filter matrix, size nsec-by-6
nsec
[input] number of sections

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

header to Included

ocmsp.h

Reference