title: Convert a vector of binary numbers into a vector of decimals
body: <p>A (hopefully efficiently) conversion from a binary number <code>b</code> into a decimal number <code>d</code> is</p>
  
  <pre><code>d = sum(b.*2.^(numel(b)-1:-1:0)) + 1
  </code></pre>
  
  <p>How would I efficiently (read: not using a for-loop) convert a vector of binary numbers <code>bvec</code>, <em>e.g.</em> the three binary numbers in <code>bvec = logical([0 1;1 0;1 1])</code> into a vector of decimal numbers?</p>