title: In Scilab sum(matrix1) gives wrong answer
body: <p>Using the Scilab console, I have read in (via imread) an image to create a 256x256 matrix of integers which I named matrix1. I wish to know the sum of all the elements which should be in the region of 3,000,000 but it consistently returns the number 227. On another similar (though different) image it returns 189 so it's doing something. What am I doing wrong?</p>
  
  <pre><code>sum(matrix1)
  
  ans.
  = 227
  </code></pre>