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

Close-button

Number of earthquakes past day

This trend is broken.

readData = 

  Columns 1 through 6

    {216x1 cell}    {216x1 cell}    {216x1 cell}    {216x1 cell}    {216x1 cell}    {216x1 cell}

  Columns 7 through 12

    {216x1 cell}    {216x1 cell}    {216x1 cell}    {216x1 cell}    {216x1 cell}    {216x1 cell}

  Column 13

    {216x1 cell}

Error using subsindex
Function 'subsindex' is not defined for values of class 'cell'.

[Warning: Function length has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.] 
[Warning: Function toc has the same name as a MATLAB builtin. We suggest you rename the function to
avoid a potential name conflict.] 
  • Created by: Semin Ibisevic
  • Last ran: 24 days ago.
  • Auto-run in: 23 days.
  • Created on: 03 Jun 2012

655

data points

Error

Description:

Counts the number of earthquakes reported from the past 24 hours. Data provided by the Eearthquake Notification Service ENS.

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

Time Recorded (time1712) Data (data1712)
05 Dec 2014 05:00:13 NaN
04 Dec 2014 05:00:13 [145]
03 Dec 2014 05:00:12 [137]
02 Dec 2014 05:00:13 [186]
01 Dec 2014 05:00:13 [129]
% -------------------------
% import and prepare data

url = 'http://earthquake.usgs.gov/earthquakes/feed/csv/all/day';
block = urlread(url);
fmt = '%s %s %s %s %s %s %s %s %s %s %s %s %s';
readData = textscan(block, fmt, 'delimiter', ',')


% -------------------------
% count

T = size(readData{1},1);
updatetrend(T);
Tags:

    Add Tags


    0 comments