I would like to pass a user defined function apart from the 3 available built in functions that can be passed as shown below:
y = pulstran(t,d,'func')
where 'func' is:
'gauspuls', for generating a Gaussian-modulated sinusoidal pulse
'rectpuls', for generating a sampled aperiodic rectangle
'tripuls', for generating a sampled aperiodic triangle
Best Answer