Is there an equivalent function of unit delay in matlab that I can use in M-files?
Show older comments
I would like to write a script M-file to simulate the time delay phenomenon of discrete dynamical system. To hold the feedback control signal at an arbitrary time delay, which is a multiple of sampled time, one can use either the z-1 or z-n module in simulink. Is there equivalent matlab functions that support such function that I can implement in M-files? Thanks in advance.
1 Comment
ES
on 21 Oct 2013
You need this, use a MATLAB Fcn Block and place your code inside.
Answers (1)
Arkadiy Turevskiy
on 23 Oct 2013
2 Comments
Ulfat Hasangarayev
on 15 May 2021
What is Just sys out there? is that mistake?
Walter Roberson
on 15 May 2021
should be sys_no_delay
Categories
Find more on Time and Frequency Domain Analysis 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!