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

Strongest magnitude recorded over the last 24 hours in Japan. (過去24時間の地震の最大のマグニチュード)

1447

data points

Description:

Strongest magnitude earthquake in Japan recorded over the last 24 hours.

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

Time Recorded (time1437) Data (data1437)
06 Feb 2016 08:15:30 [4.6]
05 Feb 2016 08:15:19 [4.6]
04 Feb 2016 08:15:20 [4.6]
03 Feb 2016 08:15:17 [3.9]
02 Feb 2016 08:15:17 [5.7]
data = urlread('http://typhoon.yahoo.co.jp/weather/jp/earthquake/');
startpos = regexp(data,'tr bgcolor="#ffffff" valign=middle');
%startpos = regexp(data,'tr bgcolor="#ffffff" valign')

maxval = 0;
for n = 1:numel(startpos)
    startpos2 = strfind(data(startpos(n):end) , 'td align=center' );
    newval = sscanf( data(startpos(n)+startpos2(2)+15:end) ,'%f');
    if newval > maxval
        maxval = newval;
    end
end

count = numel(startpos) + 1i*maxval;
count = imag(count);

updatetrend(count);
Tags:

    Add Tags


    0 comments