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 20 hours ago.
  • Auto-run in: about 4 hours.
  • Created on: 18 May 2012
  • Liked: 1 time

318

data points

Description:

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

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

Time Recorded (time1655) Data (data1655)
17 Sep 2014 11:30:08 [72 73 61 71 82 74 67 66 68 70]
16 Sep 2014 11:30:08 [70 72 72 61 71 77 76 67 68 70]
15 Sep 2014 11:30:08 [69 69 72 71 63 68 78 74 70 68]
14 Sep 2014 11:30:08 [69 71 70 71 69 66 70 76 78 75]
13 Sep 2014 11:30:08 [69 70 73 66 73 66 66 70 75 79]
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