say I have a table A
18-Dec-2015 42.3000 29.9000 7.300018-Dec-2015 37.3000 30.1000 13.400018-Dec-2015 39.1000 30.0300 6.500018-Dec-2015 42.3000 29.9000 7.300019-Dec-2015 37.3000 30.1000 13.400019-Dec-2015 39.1000 30.0300 6.500020-Dec-2015 42.3000 29.9000 7.300020-Dec-2015 39.1000 30.0300 6.500020-Dec-2015 37.3000 30.1000 13.4000
I have almost 3000 days to do. How could I use a loop to extract rows by time and do some calculation separately? Thanks in advance!!! I tried ismember and the following one but neither works.
for i = (:,1)if A(i,1)=A(i+1,1)C=A(i,:)...
Best Answer