title: MATLAB to C++ code row conversion
body: <p>I am not familiar to matlab, please help me to convert the third row of the following code snippet to C++.
  <br>(I've googled that <strong>.*</strong> is element-wise product, <strong>(nbscales:-1:2)</strong> is colon operator (like linspace),<br> but still am stucked).</p>
  
  <pre><code>nbangles_coarse = 8; % just number, not data structure
  nbscales = 6; % just number, not data structure
  
  % please explain meaning of the next row
  nbangles = [1, nbangles_coarse .* 2.^(ceil((nbscales-(nbscales:-1:2))/2))];
  </code></pre>
  
  <p>Which data structure is created? Either matrix or vector?  </p>