data points
| Time Recorded (time1748) | Data (data1748) |
|---|---|
| 24 May 2013 09:00:34 | [2789428 11025 2722350 10495 1379371 9450 33802 8620 734801 8195 343082 8170 869884 8160 2391181 7975 870409 7830 3354683 7670] |
| 23 May 2013 09:00:35 | [2789428 11025 2722350 10495 1379371 9450 33802 8610 734801 8175 343082 8170 869884 8160 2391181 7975 870409 7810 3354683 7640] |
| 22 May 2013 09:00:33 | [2789428 11025 2722350 10495 1379371 9450 33802 8580 343082 8170 869884 8160 734801 8145 2391181 7975 870409 7810 3354683 7620] |
| 21 May 2013 09:00:33 | [2789428 11025 2722350 10495 1379371 9450 33802 8560 343082 8170 869884 8150 734801 8070 2391181 7975 870409 7720 3354683 7590] |
| 20 May 2013 09:00:37 | [2789428 11025 2722350 10495 1379371 9450 33802 8560 343082 8170 869884 8150 734801 8035 2391181 7975 870409 7710 3354683 7550] |
url = 'http://www.mathworks.com/matlabcentral/cody/players';
html = urlread(url);
% FORMAT:
% <a href="/matlabcentral/cody/players/33802-james" title="Score: 3310,
tk = regexp(html,'/matlabcentral/cody/players/(\d+).*?" title="Score: (\d+),','tokens');
n = 10;
vals = zeros(2,n);
for i = 1:n
profid = str2num(tk{i}{1});
score = str2num(tk{i}{2});
vals(1,i) = profid;
vals(2,i) = score;
end
vals = vals(:)';
updatetrend(vals)
0 comments