title: Matlab: repeat every column sequentially n times
body: <p>I'm pretty much beginner so it's probably possible to do what I want in a simple way. 
  I have a matrix 121x62 but I need to expand it to 121x1488 so every column has to be repeated 24 times. For example, transform this:</p>
  
  <pre><code>   2.2668       2.2667       2.2667       2.2666       2.2666       2.2666       
     2.2582       2.2582       2.2582       2.2582       2.2581       2.2581       
      2.283        2.283        2.283       2.2829       2.2829       2.2829       
     2.2881       2.2881       2.2881       2.2881       2.2881        2.288        
      2.268        2.268       2.2679       2.2679       2.2678       2.2678       
     2.2742       2.2742       2.2741       2.2741       2.2741        2.274    
  </code></pre>
  
  <p>into this:</p>
  
  <pre><code>2.2668     2.2668     2.2668  and so on to 24th     2.2667     2.2667  and again to 24x
  2.2582     2.2582     2.2582 ...
  </code></pre>
  
  <p>with every column.</p>
  
  <p>I've tried to create a vector with these values and then transform with vec2mat and ok I have 121x1488 matrix but repeated by rows: </p>
  
  <pre><code>2.2668   2.2668   2.2668  2.2668  2.2668  2.2668 ...    2.2582   2.2582  2.2582  2.2582 ...
  </code></pre>
  
  <p>How to do it by columns?</p>