Why does the Simulink memory block delay the data by more than 1 iteration?
Afficher commentaires plus anciens
What I need to do is input the data from a previous iteration and the current iteration into a function and then do some vector analysis on these numbers. The setup is as follows: A vector A is x-y co-ordinates and is calculated by another function. This is fine. I need A(t) and A(t-1) to be inputted. But instead, with a memory block, or unit delay, I am getting A and A(t-10) (10 being a rough estimate, its around that, and its most certainly not the iteration just passed). Is there any way to make the memory block delay for just a single iteration. On R2011a, windows and mac if it matters.
Réponses (1)
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!