How to create a discrete signal shifted in time?

1 次查看(过去 30 天)
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 个评论
Wayne King
Wayne King 2013-11-28
You don't tell us what Tb is and what s is and why 8 when you have ten coefficients
pizarro
pizarro 2013-12-3
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!!!

请先登录,再进行评论。

回答(1 个)

pizarro
pizarro 2013-11-28
Please can anything help me?

Community Treasure Hunt

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

Start Hunting!

Translated by