data points
| Time Recorded (time1748) | Data (data1748) |
|---|---|
| 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] |
| 19 May 2013 09:00:33 | [2789428 11025 2722350 10495 1379371 9450 33802 8560 343082 8170 869884 8120 734801 8015 2391181 7975 870409 7700 3354683 7500] |
| 18 May 2013 09:00:33 | [2789428 11025 2722350 10495 1379371 9450 33802 8560 343082 8170 869884 8080 734801 8015 2391181 7975 870409 7610 3354683 7390] |
| 17 May 2013 09:00:33 | [2789428 11025 2722350 10495 1379371 9450 33802 8510 343082 8170 869884 8080 734801 8015 2391181 7975 870409 7610 3354683 7350] |
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