ocmsp_writefcf_sos
Description
Write filter in second order section to Matlab fcf file
Syntax
int ocmsp_writefcf_sos( const char * filename, const double * pSOS, UINT nsec, double gain, int fmt = OMSP_DEC )
Parameters
- filename
- [input] file name
- pSOS
- [input] second-order section filter matrix, size nsec-by-6
- nsec
- [input] number of sections
- gain
- [input] overall gain of filter
- fmt
- [input] format of coefficients, in binary(OMSP_BIN), decimal(OMSP_DEC) or hexadecimal(OMSP_HEX)
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_writefcf, ocmsp_writefcf_ss
header to Included
ocmsp.h
Reference