I want to declare array of type integers named sequence.
After a simulation sequence it will look like [1,3,4,59.........n elements]. I do not know the value of n as it is a random integer.
How can I declare sequence as an array of type int? I did like sequence= [1,1] but this did not work out as sometimes only 1 element and then it has 2 instead of 1 element.
foo=typecast (foo,'int16')to convert data type offoofromdouble(default) toint16type. Alternatively, declarefooas following:foo=int16 ([]). P.S. : You can choose from a variety of data types.