File Exchange

image thumbnail

Modelling registers in Embedded MATLAB

version (12.9 KB) by

This example shows how to use Embedded MATLAB to model memory elements



View License

Delay blocks in Simulink help to model memory elements in hardware. This example shows how to model the same delays in Embedded MATLAB using persistent variables.
The model consists of four subsystems each modeling a kind of delay (unit delay, integer delay, tap delay, tap delay vector) and comparing the results with corresponding block in Simulink with identical behavior.

Delays are essential in writing causal algorithms (those that use previous input and output samples to compute current output samples) in signal processing.

Comments and Ratings (0)


Updated license

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today