Hi G!
Use pulstran function.
>>help pulstran
or
>>doc pulstran
Also in helpdesk of matlab:
Michael
Example:
T = 0:1/50E3:10E-3; %generating pulses
D = [0:1/1E3:10E-3;0.8.^(0:10)]';
Y = pulstran(T,D,'gauspuls',10E3,0.5); %applying function pulstran
plot(T,Y) % plot the function of 2 variables
Also you can generate a gauss pulse using dedicated function gausspuls.
You have 3 types of functions in pulse generator
From documentation:
*
'gauspuls', for generating a Gaussian-modulated sinusoidal pulse
*
'rectpuls', for generating a sampled aperiodic rectangle
*
'tripuls', for generating a sampled aperiodic triangle