How to create a discrete signal shifted in time?

Hi experts, I need to created a discrete signal (train of eight pulses) shifted in time.Also this signal is multiplied by a random signal(ak) .I create the train of 8 pulse and the random signal.Please check the screenshoot attached to see the signal that I need to generate.
ak=4*round(rand(1,10))-2; T=1*10^(-3); L=8; Tm=T/L; t=0:Tm:T-Tm; s=ones(1,L); ....................................

2 commentaires

Wayne King
Wayne King le 28 Nov 2013
You don't tell us what Tb is and what s is and why 8 when you have ten coefficients
pizarro
pizarro le 3 Déc 2013
Hi Wayne,Tb=T=1*10^(-3) seconds. L is 8 because I need a rectangular pulse represented by 8 sample.This rectangular pulse must be multiplied to Ak coeficient and shifted in time 10 times.
Thanks!!!

Connectez-vous pour commenter.

Réponses (1)

Catégories

En savoir plus sur Signal Processing Toolbox dans Centre d'aide et File Exchange

Question posée :

le 25 Nov 2013

Commenté :

le 3 Déc 2013

Community Treasure Hunt

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

Start Hunting!

Translated by