Hi I am trying to create an empty array so that I can add elements to it concatenating them. This avoid the large time it takes if you dont give it a size previous the for loop, as it has to change its size at every iteration. This is the code:
>> days=double.empty(100000,1,0); m=size(days); m
100000 1 0
??? Attempted to access days(1); index out of bounds because numel(days)=0.
No products are associated with this question.