Difference between unit delay block and memory block
79 views (last 30 days)
Show older comments
Could anybody over here please explain me the difference in working and application between unit delay block and memory block.
0 Comments
Answers (1)
Wayne King
on 20 Nov 2013
When the Memory block inherits a discrete sample time, the block is analogous to the Unit Delay block. However, the Memory block does not support state logging. If logging the final state is necessary, use a Unit Delay block instead.
This is documented in the reference page for the memory block.
1 Comment
Tong Zhao
on 2 Jul 2021
Can you explain more about the difference between "discrete sample time that you specify" and "one major integration time step"? The former is described for "Unit Delay" and the later for "Memory", in the documentation page for "Memory".
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!