title: Inner matrix dimensions must agree?
body: <p>this is my first matlab script, so this question may seem basic and blindingly obvious, but I am a little stuck at the moment.</p>
  
  <p>I have a matlab script of two lines: </p>
  
  <pre><code>x = linspace(0,4*pi,100);
  y = exp(-x) * sin(x);
  </code></pre>
  
  <p>I'm going off the Create 2-D Line Graph tutorial on Mathworks. I want to plot f(x) = e^(-x)sin(x) over the range 0 to 4pi, but I get an inner matrix dimensions must agree error on the second line. I'm not sure what's going on, because I don't think I'm creating any matrices at the moment. Any help would be appreciated! Is there something simple with syntax that I am missing? Thanks! </p>