How can I delay a chirp signal for signal processing?

16 views (last 30 days)
Jiawei Li
Jiawei Li on 30 Oct 2018
Commented: Jiawei Li on 2 Nov 2018
I have a question, how can i delay a signal?
Code:
t = 0:1/1e3:2;
signal = chirp(t,0,2,250);
signal_delay=? (for example delay is 1s)
Thanky you!

Accepted Answer

Naman Chaturvedi
Naman Chaturvedi on 2 Nov 2018
t=1;
delay=t*1e3; %delay of 1 seconds
z=zeros(1,delay); %delay is the no. of delay samples
signal=[z,signal];
you can also use delayseq

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!