Time shift in a pulse train?

Hi, I was wondering how to do a time shif in this rectangular pulse train:
f=40 %square wave frequency
d=[0:1/f:1.5]; %repetition each 1/40
y=pulstran(t, d,'rectpuls',0.01);
Any help?

Answers (0)

Asked:

on 16 May 2018

Community Treasure Hunt

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

Start Hunting!