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.

Close-button

Trend per Plot Ratio on Trendy

This plot is broken.

Error using griddedInterpolant
The grid vectors are not strictly monotonic increasing.

Error in matlab:matlab.internal.la
  • Created by: Ned Gulley
  • Latest result: Error using <a href="matlab:matlab.internal.language.introspective.errorDocCallback('griddedInterpolant')" style="font-weight:bold">griddedInterpolant</a> The grid vectors are not strictly monotonic increasing. Error in <a href="matlab:matlab.internal.la
  • Created on: 03 May 2012

Plot Image
% time1547 and data1547 available for use
% for Number of Plots in Trendy
% 
t1 = time1546;
d1 = data1546;
t2 = time1547;
d2 = data1547;

[t1,ix] = unique(t1);
d1 = d1(ix);
[t2,ix] = unique(t2);
d2 = d2(ix);

tn = unique([t1; t2]);
tn(tn < max(t1(1),t2(1))) = [];
tn(tn > min(t1(end),t2(end))) = [];
d1n = interp1(t1,d1,tn);
d2n = interp1(t2,d2,tn);

plot(tn,d1n./d2n);
title('Trend per Plot Ratio on Trendy')
ylabel('trends/plot')
datetick
Tags:

Add Tags


0 comments