<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Read data from the web with URLREAD</title>
	<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/</link>
	<description>Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.</description>
	<pubDate>Mon, 23 Nov 2009 01:03:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1668</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Wed, 11 Nov 2009 19:49:48 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1668</guid>
		<description>Looks like this was answered in the newsgroup.
</description>
		<content:encoded><![CDATA[<p>Looks like this was answered in the newsgroup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1667</link>
		<dc:creator>Magnus</dc:creator>
		<pubDate>Wed, 11 Nov 2009 15:57:15 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1667</guid>
		<description>Hi Doug,

I tried to use you method to import data from the web, but it did not work. I did post a link on matlabcentral, http://www.mathworks.in/matlabcentral/newsreader/view_thread/265578, do you have any suggestion how I should read the data from the web and put it into a matrix?

-Magnus</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>I tried to use you method to import data from the web, but it did not work. I did post a link on matlabcentral, <a href="http://www.mathworks.in/matlabcentral/newsreader/view_thread/265578," rel="nofollow">http://www.mathworks.in/matlabcentral/newsreader/view_thread/265578,</a> do you have any suggestion how I should read the data from the web and put it into a matrix?</p>
<p>-Magnus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1436</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Thu, 14 May 2009 19:31:28 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1436</guid>
		<description>@Russell,

I am not sure what you mean, how would they work together?

Doug</description>
		<content:encoded><![CDATA[<p>@Russell,</p>
<p>I am not sure what you mean, how would they work together?</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1435</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Thu, 14 May 2009 16:35:49 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1435</guid>
		<description>This will be really handy as soon as Wolfram&#124;Alpha is up and running!</description>
		<content:encoded><![CDATA[<p>This will be really handy as soon as Wolfram|Alpha is up and running!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1359</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Wed, 11 Mar 2009 13:57:18 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1359</guid>
		<description>Jim,

Sorry, I though I did post it.   Here it is.

clear
clc

block = urlread('http://manyeyes.alphaworks.ibm.com/manyeyes/datasets/us-zipcodes-with-city-state-fips-lat/versions/1.txt');

%%
readData = textscan(block, '%n %n %s %s %n %n %n %n', 'delimiter', char(9));

statenum = readData{1};
zip      = readData{2};
abrev    = readData{3};
city     = readData{4};
lat      = readData{5};
lon      = readData{6};
pop      = readData{7};
percent  = readData{8};

clear readData

%%

load usapolygon

%%
vi = (pop &gt; 53130.23903);


plot(uslon, uslat, -lat(vi), lon(vi), '.')


%%
city{vi}

-Doug</description>
		<content:encoded><![CDATA[<p>Jim,</p>
<p>Sorry, I though I did post it.   Here it is.</p>
<p>clear<br />
clc</p>
<p>block = urlread(&#8217;http://manyeyes.alphaworks.ibm.com/manyeyes/datasets/us-zipcodes-with-city-state-fips-lat/versions/1.txt&#8217;);</p>
<p>%%<br />
readData = textscan(block, &#8216;%n %n %s %s %n %n %n %n&#8217;, &#8216;delimiter&#8217;, char(9));</p>
<p>statenum = readData{1};<br />
zip      = readData{2};<br />
abrev    = readData{3};<br />
city     = readData{4};<br />
lat      = readData{5};<br />
lon      = readData{6};<br />
pop      = readData{7};<br />
percent  = readData{8};</p>
<p>clear readData</p>
<p>%%</p>
<p>load usapolygon</p>
<p>%%<br />
vi = (pop > 53130.23903);</p>
<p>plot(uslon, uslat, -lat(vi), lon(vi), &#8216;.&#8217;)</p>
<p>%%<br />
city{vi}</p>
<p>-Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1356</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 10 Mar 2009 05:49:28 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1356</guid>
		<description>Can you post the code in a text file?</description>
		<content:encoded><![CDATA[<p>Can you post the code in a text file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1355</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Sat, 07 Mar 2009 22:38:50 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1355</guid>
		<description>URLREAD is great.  It's been a great help.  I have a MATLAB interface to the UF Sparse Matrix Collection called UFget, which downloads matrices from the collection into the MATLAB workspace.  I used to have a Java component to it, but now I can do it all in M, with URLREAD, and my code is now much simpler (and more robust).</description>
		<content:encoded><![CDATA[<p>URLREAD is great.  It&#8217;s been a great help.  I have a MATLAB interface to the UF Sparse Matrix Collection called UFget, which downloads matrices from the collection into the MATLAB workspace.  I used to have a Java component to it, but now I can do it all in M, with URLREAD, and my code is now much simpler (and more robust).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1351</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Wed, 04 Mar 2009 15:23:49 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1351</guid>
		<description>Daniel,

Thanks for the kind words about the video.

Doug

PS.  I prefer the term Geek! :)</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>Thanks for the kind words about the video.</p>
<p>Doug</p>
<p>PS.  I prefer the term Geek! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Armyr</title>
		<link>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1350</link>
		<dc:creator>Daniel Armyr</dc:creator>
		<pubDate>Wed, 04 Mar 2009 09:46:02 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/#comment-1350</guid>
		<description>You are a big nerd.

But the video was nice. Few lines of code for a large wow-factor.</description>
		<content:encoded><![CDATA[<p>You are a big nerd.</p>
<p>But the video was nice. Few lines of code for a large wow-factor.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
