delay a continous signal
9 views (last 30 days)
Show older comments
hi all
how to delay a continuous signal for a certain amount of time. i have a repeating sequence which needs to be delayed by 1 time unit in simulink after every 180 degrees.
0 Comments
Accepted Answer
Azzi Abdelmalek
on 5 Aug 2012
use a "unit delay" block. set a sample time with an amount of time. after every 180 degrees? can you be more clear?
2 Comments
Azzi Abdelmalek
on 6 Aug 2012
Edited: Azzi Abdelmalek
on 7 Aug 2012
use a "Transport Delay" block suggested by Govind and add a "switch" which will have 3 inputs
1- input 1 : your signal
2- input 3 : your delayed signal
3 -input 2 : your sine wave .
4- set a condition in your switch bloc
if the sine wave is positiv the output of your switch will be your original signal, and when the sine wave is negativ the output of your switch will be your delayed signal
More Answers (2)
Kaustubha Govind
on 6 Aug 2012
You can use the Variable Time/Transport Delay blocks for introducing a delay in continuous signals. By 180 degrees, I'm guessing you mean a delay of one half of the period, which you should specify accordingly.
2 Comments
See Also
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!