Basic demos

These demos illustrate the use of certain primitives without necessarily performing functions that are sophisticated.

butterfly
Use sines and cosines to compute a curve known as the butterfly curve, invented by T. Fay. The curve is plotted in polar form.
chaoticNoise
Chaotic Markov map example with a nonlinear feedback loop.
comparison
Compare two sinusoidal signals using the Test primitive.
complexExponential

Generate and plot a complex exponential.
initDelays
Illustrates the use of initializable delays.
lmsFreqDetect
Illustrate the use of the LMS algorithm to estimate the dominant sinusoidal frequency in the input signal.
freqPhaseOffset
Impose frequency jitter and phase offset on a sinusoid using the freqPhase SDF block.
Gaussian
Generate a Gaussian white noise signal, and plot its histogram and estimated autocorrelation.
integrator
Demonstrate the features of the integrator primitive, such as limiting, leakage, and resetting.
modulo
Demonstrate modulus computation for float and integer data types.
muxDeMux
Demonstrate the Mux and DeMux primitives, which perform multiplexing and demultiplexing. Contrast with the scramble demo below.
quantize
Demonstrate the use of the Quant primitive.
scramble
This system rearranges the order of samples of signal using the Commutator and Distributor primitives. Note that because these are multi-rate primitives, one iteration involves more than one sample. Contrast with the muxDeMux demo above.
sinMod
Modulate a sinusoid by multiplying by another sinusoid.
tbus
Illustrate the bus facility in MLDesigner, in which multiple signals are combined onto a single graphical connection.