title: Julia: short syntax for creating (1,n) array
body: <p>In Matlab I can write:</p>
  
  <pre><code>[0:n]
  </code></pre>
  
  <p>to get an array (1,n). For n=2, I get:</p>
  
  <pre><code>  0     1     2  
  </code></pre>
  
  <p>How to do the same in Julia? The purpose is to get the same type of array (1,3).</p>
  
  <p>I know I can write [0 1 2], but I want something general like in Matlab.</p>