Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9703

Re: convolution involving UnitStep

From "Dr. Wolfgang Hintze" <weh@snafu.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: convolution involving UnitStep
Date 2012-04-20 11:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jmri32$l78$1@smc.vnet.net> (permalink)
References <jmogf6$46k$1@smc.vnet.net>

Show all headers | View raw


On 19 Apr., 09:56, J Davis <texasauti...@gmail.com> wrote:
> 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...
>
>

I can't confirm any trouble in 5.2:

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

Out[3]=
(-1 + Cos[1 - t])*UnitStep[-1 + t] - 2*(-1 + Cos[t])*UnitStep[t]

Best regards
Wolfgang

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

convolution involving UnitStep J Davis <texasautiger@gmail.com> - 2012-04-19 07:56 +0000
  Re: convolution involving UnitStep "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-04-20 11:42 +0000
  Re: convolution involving UnitStep Ulf-Dietrich Braumann <braumann@uni-leipzig.de> - 2012-04-20 11:43 +0000
  Re: convolution involving UnitStep danl@wolfram.com - 2012-04-20 11:48 +0000

csiph-web