title: Bitget working with large inputs?
body: <p>The default type <a href="http://www.mathworks.se/help/matlab/ref/bitget.html" rel="nofollow">is</a> <code>uint64</code> but the below apparently requires larger support where you can see that the number <code>536870915</code> (100000000000000000000000000011 in binary, 30 bits' length) is not supported by the above bitget command. So</p>
  
  <blockquote>
    <p><strong>How to get bitget command working with large inputs like the below?</strong></p>
  </blockquote>
  
  <p><strong>Input</strong></p>
  
  <pre><code>hhhh=sparse([],[],[],2^40+1,1); 
  hhhh(536870915)=1; 
  bitget(str2num(dec2bin(find(hhhh)-1)),2,'uint64')
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <pre><code>Error using bitget
  Double inputs must have integer values in the range of ASSUMEDTYPE.
  </code></pre>