Expand description
Square wave source.
See the book entry Signal sources: oscillators, CORDIC and waveforms.
Structs§
- Square
Wave - A bipolar rectangular wave:
+1while the phase is within the duty fraction of the cycle (starting at phase 0, like the positive half of a sine) and-1for the rest.
Functions§
- square
- Convenience:
lengthsamples of a symmetric square wave with an integerperiod(>= 2). For odd periods the positive half is the longer one.