How can I delay a chirp signal for signal processing?

6 vues (au cours des 30 derniers jours)
Jiawei Li
Jiawei Li le 30 Oct 2018
Commenté : Jiawei Li le 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!

Réponse acceptée

Naman Chaturvedi
Naman Chaturvedi le 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
  1 commentaire
Jiawei Li
Jiawei Li le 2 Nov 2018
Thany you very much! This is what i want!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by