gusucode.com > demos工具箱matlab源码程序 > demos/visualizationMapper.m

    function visualizationMapper(data, ~, intermKVStore, edges)
%
% Count how many flights have have arrival delay that in each interval 
% specified by the EDGES vector, and add these counts to INTERMKVSTORE.
% 

counts = histc( data.ArrDelay, edges );

add( intermKVStore, 'Null', counts );