title: how to add complex number to an array?
body: <p>First time looking at Julia</p>
  
  <pre><code>julia&gt; x=[1 2 3];
  julia&gt; x[2]=3+5im
  
  ERROR: InexactError()
   in convert at complex.jl:18
   in setindex! at array.jl:346
  </code></pre>
  
  <p>I am sure this is because julia typing system is different.</p>
  
  <p>How would one do this below in Julia? </p>
  
  <pre><code>x=[1 2 3];
  x(2)=3+5*1i
  
  x =
     1.0000 + 0.0000i   3.0000 + 5.0000i   3.0000 + 0.0000i
  </code></pre>