I have the following input signal:
u = @ (t) cos(5*t)*sin(2*t)
What is the best way to delay this signal for a certain amount of time,k, in seconds without using any prebuilt MATLAB functions?
I have the following input signal:
u = @ (t) cos(5*t)*sin(2*t)
What is the best way to delay this signal for a certain amount of time,k, in seconds without using any prebuilt MATLAB functions?
You can substitute
twith(t - k).I suppose the unit of
tis in seconds [s]. If so just do something like:This moves the signal to the "right" by
k = 5seconds, meaning it will be delayed.I hope that was what you meant?