title: Matlab Declare Array
body: <p>I want to declare <code>array</code> of type <code>integer</code>s named sequence.  </p>
  
  <p>After a simulation sequence it will look like <code>[1,3,4,59.........n elements]</code>. I do not know the value of <code>n</code> as it is a <code>random integer</code>.  </p>
  
  <p>How can I declare sequence as an <code>array</code> of type <code>int</code>? I did like <code>sequence= [1,1]</code> but this did not work out as sometimes only 1 element and then it has 2 instead of 1 element.  </p>