Moduolo sequences are very important when dealing with the transformation of sound signals into frequencies. Suppose you have the sequence {0, 1, 3, 2, 4} which represents an infinitely repeating periodic sequence. The SCMTheory package has a set of functions to manipulate that sequence and also a special plotting function, SeqPlot, which handles mod sequences. Standard mod sequence manipulators include: Flip, Shift, Decimate, and Interpolate. See the notebook entitled Modulo Sequences (.nb.gz, .pdf). for more indepth descriptions
The following plots demonstrate various uses of SeqPlot which incorporates many of the sequence manipulators above when displaying a modulo sequence. More examples can be found in the function example notebook for SeqPlot (.nb.gz, .pdf).
SeqPlot is used by the functions: PhasePlot MagnitudePlot, RealPlot and ImagPlot.
The default style of SeqPlot:
SeqPlot[{0, 1, 3, 2, 4}]; |
Examining more periods of the mod sequence {0, 1, 3, 2, 4} :
SeqPlot[{0, 1, 3, 2, 4}, Repeat->3, AspectRatio->1/3]; |
SeqPlot can also sample continuous functions:
|
|
|