Code covered by the BSD License  

Highlights from
MATLAB Contest Statistics

image thumbnail
from MATLAB Contest Statistics by Matthew Simoneau
The code used to generate the "Statistics" page for the MATLABĀ® Contest.

entryLength(p)
function entryLength(p)
isLeader = [p.isLeader];
bar([p(isLeader).date],[p(isLeader).codeLength])
title('Entry Length')
ylabel('length of leader (characters)')
set(gca,'ygrid','on','TickLength',[0 0])
datetick
line(get(gca,'xlim'),[65535 65535],'Color','r','LineWidth',2,'LineStyle','--')

Contact us at files@mathworks.com