The Trendy application is being retired in the new year. The new web application, ThingSpeak, offers similar functionality. We recommend that active Trendy users who are looking to create new trends use ThingSpeak. To begin collecting your data in ThingSpeak, please read the tutorial : ThingSpeak for Trendy users. Although Trendy no longer allows the creation of new trends, the application will still remain accessible until January 13, 2016. Until that date, you can view your current trends and download your data. After that date, your data will no longer be accessible. Thanks for using Trendy and we encourage you to check out ThingSpeak.


How Long Until There Are 30,000 Files on the File Exchange?

Also calculate the rate at which it's growing.

Plot Image
% Files on the File Exchange
%   time vector is: time1151
%   data vector is: data1151

data1151 = data1151(:);

% Pick N days worth of data
N = 90;
t0 = now - N;
% Goal in thousands
goal = 30;
pick = time1151 > t0;
t = time1151(pick);
d = data1151(pick)/1000;

[p,S,mu] = polyfit(t,d,1);

% p1 is the equation for the linear fit to the data
p1 = [p(1)/mu(2) p(2)-p(1)*mu(1)/mu(2)];
% p2 is the equation for the target amount
p2 = [0 goal];

% ti = t_intersect, di = d_intersect
ti = (p2(2) - p1(2))/(p1(1)-p2(1));
di = p1(1)*ti + p1(2);

tf = [t0 ti+1];
df = polyval(p1,tf);

line([t0 ti+1],goal*[1 1],'Color','black')


title(sprintf('The File Exchange is growing by %4.1f files/day', 1000*p1(1)))
xlabel(sprintf('%d,000 files on %s',goal,datestr(ti)))
ylabel('Number of Files (1000s)')

Add Tags