Function rc_poly_butter#
Defined in File polynomial.h
Function Documentation#
-
int rc_poly_butter(int N, double wc, rc_vector_t *b)#
Calculates coefficients for continuous-time Butterworth polynomial of order N and cutoff wc (rad/s) and places them in vector b.
- Parameters:
N – [in] Order of the polynomial
wc – [in] cutoff frequency in rad/s
b – [out] resulting coefficients
- Returns:
Returns 0 on success and -1 on failure.