Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EMG_Filter frdm_Motor_V2_2 frdm_Motor_V2_2 frdm_Motor_V2_3 ... more
BiQuadChain Class Reference
The BiQuadChain class implements a chain of BiQuad filters. More...
#include <BiQuad.h>
Public Member Functions | |
| BiQuadChain & | add (BiQuad *bq) |
| Add a BiQuad pointer to the list: bqc.add(&bq);. | |
| double | step (double x) |
| Execute a digital time step cascaded through all bq's. | |
| std::vector< std::complex < double > > | poles () |
| Return poles of the BiQuad filter. | |
| std::vector< std::complex < double > > | zeros () |
| Return zeros of the BiQuad filter. | |
| bool | stable () |
| Is this biquad-chain stable? Checks if all poles lie within the unit-circle. | |
Detailed Description
The BiQuadChain class implements a chain of BiQuad filters.
Definition at line 155 of file BiQuad.h.
Member Function Documentation
| BiQuadChain & add | ( | BiQuad * | bq ) |
Add a BiQuad pointer to the list: bqc.add(&bq);.
- Parameters:
-
bq Pointer to BiQuad instance
- Returns:
- Pointer to BiQuadChain
Definition at line 103 of file BiQuad.cpp.
| std::vector< std::complex< double > > poles | ( | ) |
Return poles of the BiQuad filter.
- Returns:
- vector of std::complex poles
Definition at line 138 of file BiQuad.cpp.
| bool stable | ( | ) |
Is this biquad-chain stable? Checks if all poles lie within the unit-circle.
- Returns:
- boolean whether the chain is stable or not
Definition at line 146 of file BiQuad.cpp.
| double step | ( | double | x ) |
Execute a digital time step cascaded through all bq's.
- Parameters:
-
x Input of the filter chain
- Returns:
- Output of the chain
Definition at line 108 of file BiQuad.cpp.
| std::vector< std::complex< double > > zeros | ( | ) |
Return zeros of the BiQuad filter.
- Returns:
- vector of std::complex zeros
Definition at line 142 of file BiQuad.cpp.
Generated on Wed Jul 20 2022 03:41:39 by
1.7.2