Modelling registers in Embedded MATLAB
by Kiran Kintali
26 Aug 2007
(Updated 14 Aug 2008)
This example shows how to use Embedded MATLAB to model memory elements
|
Watch this File
|
| File Information |
| Description |
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. |
| Required Products |
Fixed-Point Toolbox
Simulink
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 14 Aug 2008 |
add to eML category |
|
Contact us at files@mathworks.com