title: trying to create 10 bit image Matlab
body: <p>I want to create a 10 bit per channel fake black image.<br>
  Where all of the channels equals 16.<br> 
  Here is what I have tried</p>
  
  <pre><code>image = zeros(100,100);
  image(:,:) = 16;
  fileID = fopen('blc.raw','w');
  fwrite(fileID,image,'double');
  </code></pre>
  
  <p>Can you please tell me how to create a 10 bit image?</p>