title: Matlab Plotting with Variable Subscripts
body: <p>So I need to plot a function, let's say it's:  y = sin( x<sub>k</sub> )</p>
  
  <p>But I can only write the matlab code like:</p>
  
  <pre><code>x = -pi : .1 : pi;
  y = sin(x);
  plot(x,y);
  </code></pre>
  
  <p>If I try to do x<sub>k</sub>, then it cries about not knowing what <code>k</code> is. Any idea how I can plot functions with variables that contain subscripts (the subscripts are just descriptive, they don't hold any value)? Thanks</p>