title: Inconsistent row/column dimensions error in Scilab
body: <p>I want to plot limacon in scilab, I've got this equations to process:</p>
  
  <p><img src="https://i.stack.imgur.com/ZMgl4.png" alt="equations"></p>
  
  <p>I know that <code>r&gt;0</code> and <code>l&gt;0</code></p>
  
  <p>When I compile the below code, I get this error at line 5:</p>
  
  <blockquote>
    <p>Inconsistent row/column dimensions.</p>
  </blockquote>
  
  <p>If I set <code>t</code> to a specific number, I end up with clean plot, no function in it.</p>
  
  <p>I tried to change <code>r</code> and <code>l</code> to other numbers, but this doesn't do anything. Anyone have an idea what I'm doing wrong?</p>
  
  <pre><code>r=1;
  l=1;
  t=linspace(0,2,10);
  x = 2 * r * (cos(t))^2 + l * cos(t);
  y = 2 * r * cos(t) * sin(t) + l * sin(t);
  plot (x,y);
  </code></pre>