MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: convolution involving UnitStep

  • To: mathgroup at
  • Subject: [mg126142] Re: convolution involving UnitStep
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • Date: Fri, 20 Apr 2012 07:48:25 -0400 (EDT)
  • Delivered-to:

h[t_] = Sin[t];
g[t_] = 2 UnitStep[t] - UnitStep[t - 1];
y[t_] = Integrate[h[t-s]g[s],{s,0,t}]

results in a conditional expression requiring t>1, but I want to
evaluate and plot t values from [0,1] as well as t>1.

I tried HeavisideTheta as well as := in the definition of y to no
avail. Thanks for any help...

Your function g(s) is equal to 2 in the interval of your interest, i.e. from 0 to 1.

Plot[2 UnitStep[t] - UnitStep[t - 1], {t, -1, 2}]

If the edges are not principally important to you, you may simply integrate         and plot here

y[t_] = Integrate[h[t-s]*2,{s,0,t}]

Alexei BOULBITCH, Dr., habil.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch at

  • Prev by Date: Re: How to change graph options?
  • Next by Date: Re: convolution involving UnitStep
  • Previous by thread: Re: convolution involving UnitStep
  • Next by thread: Re: convolution involving UnitStep