Since you are new, let us show you how Trendy works.

Close-button

Up and Coming Editors on Answers

  • Created by: Ned Gulley
  • Last ran: about 5 hours ago.
  • Auto-run in: about 19 hours.
  • Created on: 12 Jul 2012

777

data points

Description:

These are the top 10 sub-3000 Contributors in Answers

Recently Collected Data (last 5 of 777) Show All Data

Time Recorded (time1756) Data (data1756)
25 Oct 2014 09:00:39 [1798167 2694 28872 2599 2929937 2521 1187260 2518 1670 2397 2021205 2244 1078046 2173 756104 2164 3559595 2050 4211382 1860]
24 Oct 2014 09:00:36 [1798167 2694 28872 2591 1187260 2506 2929937 2501 1670 2395 2021205 2244 1078046 2173 756104 2156 3559595 2046 4211382 1834]
23 Oct 2014 09:00:41 [1798167 2694 28872 2579 2929937 2501 1187260 2494 1670 2389 2021205 2244 1078046 2173 756104 2152 3559595 2046 4211382 1816]
22 Oct 2014 09:00:36 [1798167 2693 28872 2579 2929937 2491 1187260 2490 1670 2385 2021205 2244 1078046 2173 756104 2146 3559595 2046 4211382 1816]
21 Oct 2014 09:00:36 [1798167 2693 28872 2575 2929937 2491 1187260 2460 1670 2385 2021205 2244 1078046 2173 756104 2146 3559595 2024 4211382 1800]
url = 'http://www.mathworks.com/matlabcentral/answers/contributors';
html = urlread(url);

% FORMAT: 
% <a href="/matlabcentral/answers/contributors/631608-andrew-newell" title="Reputation: 1560">Andrew Newell</a>

tk = regexp(html,'/matlabcentral/answers/contributors/(\d+).*?" title="Reputation: (\d+)"','tokens');

n = 50;
vals = zeros(2,n);
for i = 1:n
    profid = str2num(tk{i}{1});
    rep = str2num(tk{i}{2});
    vals(1,i) = profid;
    vals(2,i) = rep;
end

% Get the 10 contributors with the best sub-3000 score
ix1 = cumsum(vals(2,:) < 3000);
ix2 = (ix1 > 0) & (ix1 < 11);
vals = vals(:,ix2);

vals = vals(:)';
updatetrend(vals)
Tags:

    Add Tags


    0 comments