Class to handle discrete time. It supports transforming from continuous time to discrete time and also transforming from discrete time to continuous time. It also supports cyclic (normalized period) and periodic (for any given period scale, which matches normalized when it is \(1\)) transforms.
More...
#include <DiscreteTime.h>
|
std::size_t | frequency |
| The frequency \(F\) defining the discrete time. It is, how many iterations per second. More...
|
|
double | freq |
| Decimal representation of the frequency \(F\). More...
|
|
double | period |
| Decimal representation of the period \(\frac{1}{F} = F^{-1}\). More...
|
|
double | periodScale |
| The period scale \(p\) defining the period length. If it is 1.0, then it means periodic and cyclic transforms match. Otherwise, cyclic transforms work in \([0, 1)\) continuous interval and \([0, F)\) discrete interval. While periodic transforms would work in \([0, p)\) continuous interval and \([0, pF)\) discrete interval. More...
|
|
double | freqScale |
| Simply the inverse of period scale \(\frac{1}{p} = p^{-1}\). More...
|
|
std::size_t | scaledFrequency |
| How many iterations applying period scale \(p\). It is, \(pF\). More...
|
|
double | scaledFreq |
| Decimal representation of the scaled frequency \(pF\). More...
|
|
Class to handle discrete time. It supports transforming from continuous time to discrete time and also transforming from discrete time to continuous time. It also supports cyclic (normalized period) and periodic (for any given period scale, which matches normalized when it is \(1\)) transforms.
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
◆ freq
double DiscreteTime::freq |
|
protected |
◆ freqScale
double DiscreteTime::freqScale |
|
protected |
◆ frequency
std::size_t DiscreteTime::frequency |
|
protected |
◆ period
double DiscreteTime::period |
|
protected |
◆ periodScale
double DiscreteTime::periodScale |
|
protected |
The period scale \(p\) defining the period length. If it is 1.0, then it means periodic and cyclic transforms match. Otherwise, cyclic transforms work in \([0, 1)\) continuous interval and \([0, F)\) discrete interval. While periodic transforms would work in \([0, p)\) continuous interval and \([0, pF)\) discrete interval.
- See also
- DiscreteTime::toPeriodicDiscrete
-
DiscreteTime::toPeriodicContinuous
-
DiscreteTime::freqScale
-
DiscreteTime::period
◆ scaledFreq
double DiscreteTime::scaledFreq |
|
protected |
◆ scaledFrequency
std::size_t DiscreteTime::scaledFrequency |
|
protected |
The documentation for this class was generated from the following file: