title: Can anyone please tell why I'm getting this error in GNU Octave
body: <p>I don't know why it's showing me this error. I tried changing temp1 with other names but it's same. </p>
  
  <pre><code>&gt;&gt;  for i = [1:10000]
  temp0 = theta0 - ((a/m)*((X(i,1)*theta0 + X(i,2)*theta1) - Y(i))*X(i,1)
  temp1 = theta1 - ((a/m)*((X(i,1)*theta0 + X(i,2)*theta1) - Y(i))*X(i,2)
  parse error:
  
    syntax error
  
  &gt;&gt;&gt; temp1 = theta1 - (a/m)*((X(i,1)*theta0 + X(i,2)*theta1) - Y(i))*X(i,2)
          ^
  </code></pre>