MathGroup Archive 1998

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

Search the Archive

Re: Convolution

  • To:
  • Subject: [mg10952] Re: Convolution
  • From: Paul Abbott <>
  • Date: Sat, 14 Feb 1998 00:53:24 -0500
  • Organization: University of Western Australia
  • References: <6bumsu$>

Larry Gottlob wrote:

> I define two functions:
> Func1[x_] := tau*Exp(-x)
> Func2[x_] := mu*x^2
> for instance, where tau and mu are constants.
> How do I define a function of x that is a convolution of Func1 and
> Func2, and plot that?

Is the following what you want?

In[1]:= f[x_, tau_:1] := tau*Exp[-x] In[2]:= g[x_, mu_:1] := mu*x^2
In[3]:= Plot[f[g[x]], {x, 0, 1}]; 

or do you mean Convolution in the Fourier sense?

I took the liberty of declaring tau and mu with default values (rather
than using a global assignment or a substitution rule).


Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907  AUSTRALIA                   

            God IS a weakly left-handed dice player

  • Prev by Date: Function
  • Next by Date: Can Mathematica help me?
  • Prev by thread: Re: Convolution
  • Next by thread: Re: Convolution