【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.22.3.15 ocmsp_impz_sos
Contents
Description
Impulse response of digital filter, calculating by second-order-section.
Syntax
int ocmsp_impz_sos( double * ph, double * pt, UINT n, const double * pSOS, UINT nsec, double gain, double fs = 1.0 )
Parameters
- ph
- [output] impulse response, size n
- pt
- [output] sample times, size n
- n
- [input] size of impulse response
- pSOS
- [input] second-order section filter matrix, size nsec-by-6
- nsec
- [input] number of sections
- gain
- [input] overall gain of filter
- fs
- [input][optional] sample frequency, the samples are spaced 1/fs unit apart. Default 1
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
Header to Included
ocmsp.h