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

299

data points

Description:

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

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

Time Recorded (time1655) Data (data1655)
29 Aug 2014 11:30:08 [75 79 87 86 90 89 87 87 78 77]
28 Aug 2014 11:30:08 [81 75 79 88 87 88 88 86 84 83]
27 Aug 2014 11:30:08 [91 81 76 80 90 85 83 85 82 80]
26 Aug 2014 11:30:08 [89 91 79 75 80 90 73 81 80 80]
25 Aug 2014 11:30:08 [87 87 90 79 77 77 84 73 74 78]
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