I have found a piece of code which i adapted to get the accumulated daily values of actual Evapotranspiration (act_ET)
for a unknown reason i get a double array of the correct size lenght for act_ET and for act_ET_daily i only get one single value.
This alone would be ok, but the values of act_ET seem to be far to low.
Where is the mistake or is there even an easier way to get the cumulated daily value?
Looking forward to help from somebody.
Thanks in advance.
act_ET = table2array(T(: , 4));
t = 0:numel(act_ET)-1 ;
interval = 144 ;
ix = 1+floor((t-t(1))/interval);
act_ET_daily = accumarray(ix(:),act_ET(:));