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

Close-button

Ten Day Forecast Highs for Natick, MA

  • Created by: Ned Gulley
  • Last ran: about 4 hours ago.
  • Auto-run in: about 20 hours.
  • Created on: 18 May 2012
  • Liked: 1 time

353

data points

Description:

Natick weather data gathered from this URL at Weather.com.

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

Time Recorded (time1655) Data (data1655)
22 Oct 2014 11:30:09 [52 58 56 64 57 60 68 67 60 57]
21 Oct 2014 11:30:09 [64 55 59 57 62 60 63 69 58 56]
20 Oct 2014 11:30:08 [57 63 56 60 60 65 59 60 64 57]
19 Oct 2014 11:30:08 [52 58 62 55 57 57 64 60 54 58]
18 Oct 2014 11:30:08 [71 50 56 59 61 59 54 62 58 53]
url = 'http://www.weather.com/weather/tenday/Natick+MA+01760:4:US';
html = urlread(url);

target = 'class="wx-temp">\s(\d+)<sup>';
tk = regexp(html,target,'tokens');
hitemp = zeros(size(tk));
for i = 1:length(tk)
    hitemp(i) = str2num(tk{i}{1});
end

updatetrend(hitemp)
Tags:

    Add Tags


    0 comments