From: Mario Fatafehi on
How can i define the unit pulse function in terms of the unit step function.
>> t=-2:2;
>> heavisde(t+1/2) - heavisde(t-1/2)
??? Undefined command/function 'heavisde'.

From: Mario Fatafehi on
"Mario Fatafehi" <coruba9(a)hotmail.com> wrote in message <hphiq1$oi0$1(a)fred.mathworks.com>...
> How can i define the unit pulse function in terms of the unit step function.
> >> t=-2:2;
> >> heavisde(t+1/2) - heavisde(t-1/2)
> ??? Undefined command/function 'heavisde'.

Its okay. My mistake with spelling of heaviside. Cheers.