Template Function tap::algorithms::evaluateFrequencyResponse¶
Defined in File butterworth.hpp
Function Documentation¶
-
template<uint8_t ORDER>
constexpr std::complex<double> tap::algorithms::evaluateFrequencyResponse(const std::array<double, ORDER + 1> &b, const std::array<double, ORDER + 1> &a, double w, double Ts)¶ used to evaluate the frequency response of a filter at a given frequency
- Parameters:
b – [in] the numerator coefficients of the filter
a – [in] the denominator coefficients of the filter
w – [in] the frequency to evaluate at in rad/s
Ts – [in] the sample time
- Returns:
the frequency response of the filter at the given frequency