title: Matlab set range of inputs and step
body: <p>I have this signal:</p>
  <pre><code>x(t) = t*sin(m*pi*t)*heaviside(-m*pi-t)+t*cos(k*pi*t)*heaviside(t-k*pi)+sin(k*pi*t)*cos(m*pi*t)*(heaviside(t+m*pi)-heaviside(t-k*pi));
  </code></pre>
  <p>and I want to calculate the values only from  -5pi to 5pi  with a step of pi/100 using Matlab. How could I do it?</p>