The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 24th, 2024, 4:23pm
Pages: 1
Send Topic Print
how to delay a signal (Read 2777 times)
jagadeesh
New Member
*
Offline



Posts: 1

how to delay a signal
Oct 29th, 2014, 7:52am
 
how to delay a signal dynamically...suppose some integer is there and depending on its value..i have to delay input signal...
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: how to delay a signal
Reply #1 - Nov 13th, 2014, 10:18am
 
Have you looked at absdelay()?  It allows a variable delay, as long as you specify the third argument, which is the maximum delay.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: how to delay a signal
Reply #2 - Nov 14th, 2014, 5:21am
 
If the value you want to delay over time is piecewise constant, you should use the transition function to delay it. It is a much lighter function than $absdelay and has better error control. If the value varies continuously with time, then Geoffrey's suggestion of $absdelay() is best.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.