Clear Filters
Clear Filters

How to create a discrete signal shifted in time?

1 view (last 30 days)
pizarro
pizarro on 25 Nov 2013
Commented: pizarro on 3 Dec 2013
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 Comments
Wayne King
Wayne King on 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 on 3 Dec 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!!!

Sign in to comment.

Answers (1)

pizarro
pizarro on 28 Nov 2013
Please can anything help me?

Community Treasure Hunt

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

Start Hunting!