title: How to calculate the convolution of a function with itself in MATLAB and WolframAlpha?
body: <p>I am trying to calculate the convolution of </p>
  
  <pre><code>x(t) = 1, -1&lt;=t&lt;=1
  x(t) = 0, outside
  </code></pre>
  
  <p>with itself using the definition.</p>
  
  <p><a href="http://en.wikipedia.org/wiki/Convolution" rel="nofollow">http://en.wikipedia.org/wiki/Convolution</a></p>
  
  <p>I know how to do using the Matlab function conv, but I want to use the integral definition. My knowledge of Matlab and WolframAlpha is very limited.</p>