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 comentarios

Wayne King
Wayne King el 28 de Nov. de 2013
You don't tell us what Tb is and what s is and why 8 when you have ten coefficients
pizarro
pizarro el 3 de Dic. de 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!!!

Iniciar sesión para comentar.

Respuestas (1)

Preguntada:

el 25 de Nov. de 2013

Comentada:

el 3 de Dic. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by