<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.3.1" --><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Doug's MATLAB Video Tutorials</title>
	<link>http://blogs.mathworks.com/videos</link>
	<description>Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.</description>
	<pubDate>Fri, 06 Nov 2009 15:05:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/DougsMatlabVideoTutorials" type="application/rss+xml" /><feedburner:emailServiceId>DougsMatlabVideoTutorials</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Basics: Volume visualization: 3/9 Display of scatter3 and slice plots</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/kOmKcWl8NhE/</link>
		<comments>http://blogs.mathworks.com/videos/2009/11/06/basics-volume-visualization-39-display-of-scatter3-and-slice-plots/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 15:05:39 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Format: Video]]></category>

		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/11/06/basics-volume-visualization-39-display-of-scatter3-and-slice-plots/</guid>
		<description><![CDATA[This short video is the third of a series of nine that talks about volume visualization. Patrick gave this talk internally to help technical support engineers understand capabilities of MATLAB for volume visualization.


I like his slow, clear, methodical presentation with great visualizations. It is the first time I have deeply understood some of the volume [...]]]></description>
			<content:encoded><![CDATA[This short video is the third of a series of nine that talks about volume visualization. Patrick gave this talk internally to help technical support engineers understand capabilities of MATLAB for volume visualization.
<p>
<p>
I like his slow, clear, methodical presentation with great visualizations. It is the first time I have deeply understood some of the volume visualization techniques we have. 
<p>
<ul>

	<li><a href="http://blogs.mathworks.com/videos/2009/10/23/basics-volume-visualization-19-defining-scalar-and-vector-fields/">1 of 9 Definitions for scalar and vector fields. </a></li>

	<li><a href="http://blogs.mathworks.com/videos/2009/10/30/basics-volume-visualization-29-examples-of-scalar-and-vector-fields/">2 of 9 Examples of scalar and vector fields (temperature in a room vs air currents)   </a></li>
        <li>3 of 9 Displays scatter3 and slice plots. </li>
</ul>


<div class="video" style="width:660; height:410;">
       <script type="text/javascript" src="http://www.mathworks.com/includes_content/jscript/flash/swfobject.js"></script>
       <script type="text/javascript">
              var flashvars = {};
              flashvars.xmlfile = "/images/videos/FlashVideos/167 Basics Volume Patrick 3";
              flashvars.pagename = document.title;
              flashvars.pageurl = window.location.href;
              var params = {};
              params.play = "true";
              params.wmode = "transparent";
              params.allowscriptaccess = "sameDomain";
              var attributes = {};
              attributes.id = "videoplayer";

              swfobject.embedSWF("/images/videos/FlashVideos/videoplayer.swf", "videoalternate167", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate167" style="width:660px; height:410px; " >
                     <a href="http://www.adobe.com/go/getflashplayer">


                     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
              </a>
              </div>
 </div>
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/kOmKcWl8NhE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/11/06/basics-volume-visualization-39-display-of-scatter3-and-slice-plots/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/11/06/basics-volume-visualization-39-display-of-scatter3-and-slice-plots/</feedburner:origLink></item>
		<item>
		<title>Contest:  Flooding</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/nI8gtDnmks8/</link>
		<comments>http://blogs.mathworks.com/videos/2009/11/04/contest-flooding/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 17:05:33 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Topic: Puzzler]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/11/04/contest-flooding/</guid>
		<description><![CDATA[The 20th MATLAB programming contest just went live!



Get all the information here. 

Our more faithful blog readers might have a head start on this puzzle&#8230;

Finding four connected regions.

A puzzler about the game that inspired this contest.

Winning entries to the above puzzler.]]></description>
			<content:encoded><![CDATA[The 20th MATLAB programming contest just went live!
<p>
<a href="http://www.flickr.com/photos/dey/100611750/"><img src='http://blogs.mathworks.com/videos/../images/videos/2009/11/colors1.jpg' alt='colors1.jpg' /></a>
<p>
<a href="http://www.mathworks.com/contest/flooding/rules.html">Get all the information here. </a>
<p>
Our more faithful blog readers might have a head start on this puzzle&#8230;
<p>
<a href="http://blogs.mathworks.com/videos/2009/06/17/puzzler-find-four-connected-component-to-element-1-of-2-d-matrix/">Finding four connected regions.</a>
<p>
<a href="http://blogs.mathworks.com/videos/2009/07/28/puzzler-rules-of-the-new-game/">A puzzler about the game that inspired this contest.</a>
<p>
<a href="http://blogs.mathworks.com/videos/2009/08/14/puzzler-results-of-most-difficult-puzzler-yet/">Winning entries to the above puzzler.</a><img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/nI8gtDnmks8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/11/04/contest-flooding/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/11/04/contest-flooding/</feedburner:origLink></item>
		<item>
		<title>Puzzler: Ultimate Frisbee- call it! Wrap up</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/wkePmJPUsxE/</link>
		<comments>http://blogs.mathworks.com/videos/2009/11/03/puzzler-ultimate-frisbee-call-it-wrap-up/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 14:49:03 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Level: Basic]]></category>

		<category><![CDATA[Topic: Puzzler]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/11/03/puzzler-ultimate-frisbee-call-it-wrap-up/</guid>
		<description><![CDATA[I do not know why I am still always amazed at the many different ways that simple problems are solved by different people.  To end the suspense for everyone playing along at home, 

&#8220;For two coins (i.e. Frisbees®) that have the same probability of being heads or tails (but not necessarily fair coins) you [...]]]></description>
			<content:encoded><![CDATA[I do not know why I am still always amazed at the many different ways that simple problems are solved by different people.  To end the suspense for everyone playing along at home, 
<p>
<strong>&#8220;For two coins (i.e. Frisbees®) that have the same probability of being heads or tails (but not necessarily fair coins) you are at worst going to win 50% of the time when you choose &#8217;same&#8217;.&#8221;</strong>
<a href="http://blogs.mathworks.com/videos/2009/10/27/puzzler-ultimate-frisbee-call-it/">(Here is the original post)</a>

<p>
My argument on the Ultimate Frisbee field was 
<p>
<strong>&#8220;Imagine the two Frisbee come up heads 99% of the time, what do you choose?&#8221; </strong>
<p>
&#8220;Same!&#8221;  
<p>
<strong>&#8220;What about 98%?&#8221;  </strong>
<p>
&#8220;Same&#8221;
<p>
<strong>&#8220;This logic holds all the way through, even to 50.00001.    At 50% it just does not matter, so always choose same.&#8221;</strong>
<p>

The more rigorous and MATLAB proofs were more along these lines:
<img src='http://blogs.mathworks.com/videos/../images/videos/2009/11/frisbeegui.jpg' alt='frisbeegui.jpg' />

<p>
This was a GUI that you watched as it went through a Monte Carlo simulation.  Thanks Richard

<p>

Arman did a more traditional proof, citing Wikipedia

<p>
<pre>
Let p be the probability of having tails.
The probability of having "different" is p(1-p)+(1-p)p.
The probability of having "same" is p^2+(1-p)^2.

<a href="http://en.wikipedia.org/wiki/Inequality_of_arithmetic_and_geometric_means">From the arithmetic mean geometric mean inequality</a>, we know that

p^2+(1-p)^2 >= 2*p(1-p) and equality holds if p=1-p which means p=1/2.

Therefore &#8220;same&#8221; is better choice for any p value.
</pre>
<p>
<p>
There were many variations on this plot:

<img src='http://blogs.mathworks.com/videos/../images/videos/2009/11/frisbeedifference.jpg' alt='frisbeedifference.jpg' />

<p>
I liked Zane&#8217;s here because it shows how much better off you are with &#8217;same&#8217; for each value of unfairness in the coin.
<p>
<p>

Christopher won the challenge by going to the next level, pointing out that you could make these unfair Frisbees almost fair by flipping three and calling for an odd number (1 or 3) vs even number (0 or 2) of heads.

<img src='http://blogs.mathworks.com/videos/../images/videos/2009/11/frisbeecombos.jpg' alt='frisbeecombos.jpg' />

<p>

Thank you everyone for playing, and finally putting this question to rest!  Now the ethical question, knowing the coin flip is unfair, is it in the <a href="http://en.wikipedia.org/wiki/Spirit_of_the_Game#Spirit_of_the_game">Spirit of The Game</a> to let the other guy choose?  Should we move to Christopher&#8217;s method of flipping three Frisbees?

<p>
Frisbee® is a Registered Trademark of © 2004 Wham-o Inc. All Rights Reserved.
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/wkePmJPUsxE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/11/03/puzzler-ultimate-frisbee-call-it-wrap-up/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/11/03/puzzler-ultimate-frisbee-call-it-wrap-up/</feedburner:origLink></item>
		<item>
		<title>Basics: Volume visualization: 2/9 Examples of scalar and vector fields</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/3cfrO9Tda2U/</link>
		<comments>http://blogs.mathworks.com/videos/2009/10/30/basics-volume-visualization-29-examples-of-scalar-and-vector-fields/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 20:44:14 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Format: Video]]></category>

		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/10/30/basics-volume-visualization-29-examples-of-scalar-and-vector-fields/</guid>
		<description><![CDATA[This short video is the second of a series of nine that talks about volume visualization. Patrick gave this talk internally to help technical support engineers understand capabilities of MATLAB for volume visualization.


I like his slow, clear, methodical presentation with great visualizations. It is the first time I have deeply understood some of the volume [...]]]></description>
			<content:encoded><![CDATA[This short video is the second of a series of nine that talks about volume visualization. Patrick gave this talk internally to help technical support engineers understand capabilities of MATLAB for volume visualization.
<p>
<p>
I like his slow, clear, methodical presentation with great visualizations. It is the first time I have deeply understood some of the volume visualization techniques we have. 
<p>
<ul>

	<li><a href="http://blogs.mathworks.com/videos/2009/10/23/basics-volume-visualization-19-defining-scalar-and-vector-fields/">1 of 9 Definitions for scalar and vector fields. </a></li>

	<li>2 of 9 Examples of scalar and vector fields (temperature in a room vs air currents)   </li>

</ul>



<div class="video" style="width:660; height:410;">
       <script type="text/javascript" src="http://www.mathworks.com/includes_content/jscript/flash/swfobject.js"></script>
       <script type="text/javascript">
              var flashvars = {};
              flashvars.xmlfile = "/images/videos/FlashVideos/166 Basics Volume Patrick 2";
              flashvars.pagename = document.title;
              flashvars.pageurl = window.location.href;
              var params = {};
              params.play = "true";
              params.wmode = "transparent";
              params.allowscriptaccess = "sameDomain";
              var attributes = {};
              attributes.id = "videoplayer";

              swfobject.embedSWF("/images/videos/FlashVideos/videoplayer.swf", "videoalternate166", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate166" style="width:660px; height:410px; " >
                     <a href="http://www.adobe.com/go/getflashplayer">


                     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
              </a>
              </div>
 </div>
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/3cfrO9Tda2U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/10/30/basics-volume-visualization-29-examples-of-scalar-and-vector-fields/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/10/30/basics-volume-visualization-29-examples-of-scalar-and-vector-fields/</feedburner:origLink></item>
		<item>
		<title>Puzzler: Ultimate Frisbee- call it!</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/byMfaBGqtvY/</link>
		<comments>http://blogs.mathworks.com/videos/2009/10/27/puzzler-ultimate-frisbee-call-it/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 19:31:07 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Level: Basic]]></category>

		<category><![CDATA[Topic: Puzzler]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/10/27/puzzler-ultimate-frisbee-call-it/</guid>
		<description><![CDATA[I play a fair amount of Ultimate Frisbee® between lunch across the street at Cognex and playing with Boston Ultimate Disk Alliance.  Games of Ultimate start with the two teams flipping two Frisbees in the air and calling 
&#8220;Same or different&#8221;  My team was trying to figure out which is the most likely [...]]]></description>
			<content:encoded><![CDATA[I play a fair amount of <a href="http://maps.google.com/maps?f=q&#038;hl=en&#038;geocode=&#038;time=&#038;date=&#038;ttype=&#038;q=Cognex+Headquarters+1+Vision+Dr.+Natick+MA&#038;sll=45.305803,14.589844&#038;sspn=20.857325,32.695313&#038;om=1&#038;ie=UTF8&#038;hq=Cognex+Headquarters&#038;hnear=1+Vision+Dr,+Natick,+MA+01760&#038;ll=42.301071,-71.349925&#038;spn=0.007118,0.015621&#038;t=h&#038;z=17">Ultimate Frisbee® between lunch across the street at Cognex</a> and playing with <a href="http://www.buda.org/j2/">Boston Ultimate Disk Alliance</a>.  Games of Ultimate start with the two teams flipping two Frisbees in the air and calling 
&#8220;Same or different&#8221;  My team was trying to figure out which is the most likely outcome.  

<p>

I made a convincing argument, but I am curious what kind of persuasive MATLAB-based &#8216;proofs&#8217; can be made.  I am offering a MATLAB t-shirt to the most persuasive entry.  Use <a href="http://www.mathworks.in/demos/matlab/publishing-from-the-editor-matlab-video-tutorial.html">published MATLAB files</a>, GUI&#8217;s, MATLAB script or function, whatever you think will be most convincing.  Contest ends this time next week.

<p>
<img src='http://blogs.mathworks.com/videos/../images/videos/2009/10/frisbeeflip.jpg' alt='frisbeeflip.jpg' />
<p>

Assumptions:  The Frisbees (or coins) are either &#8216;heads&#8217; or &#8216;tails&#8217;.  The coins may or may not be &#8216;fair&#8217; (i.e. they might be heads 80% of the time!), however the odds of heads versus tails for the two coins is the same for both coins.  Send entries to hull@MathWorks.com (no .rar files please!)

<a href="http://blogs.mathworks.com/videos/2009/11/03/puzzler-ultimate-frisbee-call-it-wrap-up/">(Here is the result of this now closed contest)</a>

<p>
Frisbee® is a Registered Trademark of © 2004 Wham-o Inc. All Rights Reserved.<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/byMfaBGqtvY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/10/27/puzzler-ultimate-frisbee-call-it/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/10/27/puzzler-ultimate-frisbee-call-it/</feedburner:origLink></item>
		<item>
		<title>Basics: Volume visualization: 1/9 Defining scalar and vector fields</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/rzgYQc7D9oE/</link>
		<comments>http://blogs.mathworks.com/videos/2009/10/23/basics-volume-visualization-19-defining-scalar-and-vector-fields/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 15:26:31 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/10/23/basics-volume-visualization-19-defining-scalar-and-vector-fields/</guid>
		<description><![CDATA[This short video is the first of a series of nine that talks about volume visualization.  Patrick gave this talk internally to help technical support engineers understand capabilities of MATLAB for volume visualization.  



I like his slow, clear, methodical presentation with great visualizations.  It is the first time I have deeply understood [...]]]></description>
			<content:encoded><![CDATA[This short video is the first of a series of nine that talks about volume visualization.  Patrick gave this talk internally to help technical support engineers understand capabilities of MATLAB for volume visualization.  

<p><p>

I like his slow, clear, methodical presentation with great visualizations.  It is the first time I have deeply understood some of the volume visualization techniques we have.  Sorry, Dr. H, but I really did not understand <a href="http://www.amazon.com/Div-Grad-Curl-All-That/dp/0393969975">Div, Grad, Curl and all of that</a> until Patrick explained it later in this series!
                                                                                                                                                                                                                                                                                   <p><p>                                                                                                          

1 of 9 Definitions for scalar and vector fields.                                                                                                                                                                                            

<div class="video" style="width:660; height:410;">
       <script type="text/javascript" src="http://www.mathworks.com/includes_content/jscript/flash/swfobject.js"></script>
       <script type="text/javascript">
              var flashvars = {};
              flashvars.xmlfile = "/images/videos/FlashVideos/165 Basics Volume Patrick";
              flashvars.pagename = document.title;
              flashvars.pageurl = window.location.href;
              var params = {};
              params.play = "true";
              params.wmode = "transparent";
              params.allowscriptaccess = "sameDomain";
              var attributes = {};
              attributes.id = "videoplayer";

              swfobject.embedSWF("/images/videos/FlashVideos/videoplayer.swf", "videoalternate165", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate165" style="width:660px; height:410px; " >
                     <a href="http://www.adobe.com/go/getflashplayer">


                     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
              </a>
              </div>
 </div>
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/rzgYQc7D9oE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/10/23/basics-volume-visualization-19-defining-scalar-and-vector-fields/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/10/23/basics-volume-visualization-19-defining-scalar-and-vector-fields/</feedburner:origLink></item>
		<item>
		<title>MATLAB Virtual confrence</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/cnKgQG9gz0s/</link>
		<comments>http://blogs.mathworks.com/videos/2009/10/14/matlab-virtual-confrence/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 11:16:10 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Topic: Puzzler]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/10/14/matlab-virtual-confrence/</guid>
		<description><![CDATA[We are holding a virtual conference  right now.  

Come hear Keynote speakers starting at 7:45 EST. 


See the rest of the schedule


I have four new puzzler listed, when you arrive come stop by the booth, grab a copy and try to solve them to get some MATLAB gifts.



]]></description>
			<content:encoded><![CDATA[We are holding a <a href="http://events.unisfair.com/index.jsp?eid=461&#038;seid=56&#038;code=mlvirtualgrspot">virtual conference </a> right now.  

<p>Come hear Keynote speakers starting at 7:45 EST. 

<p>
<a href="http://events.unisfair.com/matlab/MATLAB_Conference_Descriptions.pdf">See the rest of the schedule</a>

<p>
I have four new puzzler listed, when you arrive come stop by the booth, grab a copy and try to solve them to get some MATLAB gifts.

<p>
<hr />
<img src='http://blogs.mathworks.com/videos/../images/videos/2009/10/virtual-puzzler.jpg' alt='virtual-puzzler.jpg' /><img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/cnKgQG9gz0s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/10/14/matlab-virtual-confrence/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/10/14/matlab-virtual-confrence/</feedburner:origLink></item>
		<item>
		<title>Finding the area inside a convex hull</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/ZWZ1A2VrBfA/</link>
		<comments>http://blogs.mathworks.com/videos/2009/10/09/finding-the-area-inside-a-convex-hull/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 13:30:45 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Format: Video]]></category>

		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/10/09/finding-the-area-inside-a-convex-hull/</guid>
		<description><![CDATA[This quick video answers a question about finding the area of the smallest polygon that covers a set of points.  It is a chance to use a few commands in MATLAB to simplify a script.

Here is the code that will be discussed.


 x1 = rand(1,10);
 y1 = rand(1,10);

 vi = convhull(x1,y1);
 polyarea(x1(vi),y1(vi))

 plot(x1,y1,'.')
 axis [...]]]></description>
			<content:encoded><![CDATA[This quick video answers a question about finding the area of the smallest polygon that covers a set of points.  It is a chance to use a few commands in MATLAB to simplify a script.

Here is the code that will be discussed.

<code><pre>
 x1 = rand(1,10);
 y1 = rand(1,10);

 vi = convhull(x1,y1);
 polyarea(x1(vi),y1(vi))

 plot(x1,y1,'.')
 axis equal
 hold on
 fill ( x1(vi), y1(vi), 'r','facealpha', 0.5 ); 
 hold off
</pre></code>


<div class="video" style="width:660; height:410;">
       <script type="text/javascript" src="http://www.mathworks.com/includes_content/jscript/flash/swfobject.js"></script>
       <script type="text/javascript">
              var flashvars = {};
              flashvars.xmlfile = "/images/videos/FlashVideos/164 Basic Convex polygon area";
              flashvars.pagename = document.title;
              flashvars.pageurl = window.location.href;
              var params = {};
              params.play = "true";
              params.wmode = "transparent";
              params.allowscriptaccess = "sameDomain";
              var attributes = {};
              attributes.id = "videoplayer";

              swfobject.embedSWF("/images/videos/FlashVideos/videoplayer.swf", "videoalternate164", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate164" style="width:660px; height:410px; " >
                     <a href="http://www.adobe.com/go/getflashplayer">


                     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
              </a>
              </div>
 </div>
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/ZWZ1A2VrBfA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/10/09/finding-the-area-inside-a-convex-hull/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/10/09/finding-the-area-inside-a-convex-hull/</feedburner:origLink></item>
		<item>
		<title>Basics: Using ACCUMARRAY</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/mZdujmv0LV4/</link>
		<comments>http://blogs.mathworks.com/videos/2009/10/02/basics-using-accumarray/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 14:37:15 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/10/02/basics-using-accumarray/</guid>
		<description><![CDATA[ACCUMARRAY is one of my favorite functions that I never seem to need outside of MATLAB golf problems.  I present this to you with the hopes that knowing it exists allows you to use it at just the right time.

The video discusses the following code:

sales.rep    = [1 2 1 3 4 [...]]]></description>
			<content:encoded><![CDATA[ACCUMARRAY is one of my favorite functions that I never seem to need outside of MATLAB golf problems.  I present this to you with the hopes that knowing it exists allows you to use it at just the right time.

The video discusses the following code:

<pre><code>sales.rep    = [1 2 1 3 4 6 2 3 1 1];
sales.amount = [1 1 3 1 5 2 2 4 1 5];


numReps = max(sales.rep);
sales.total   = zeros(1,numReps);
for i = 1 : numel(sales.rep)
    sales.total(sales.rep(i)) = sales.total(sales.rep(i)) ...
                              + sales.amount(i);
end


sales.accum = accumarray(sales.rep', sales.amount)'</code></pre>

<div class="video" style="width:660; height:410;">
       <script type="text/javascript" src="http://www.mathworks.com/includes_content/jscript/flash/swfobject.js"></script>
       <script type="text/javascript">
              var flashvars = {};
              flashvars.xmlfile = "/images/videos/FlashVideos/163 Basics Accumarray";
              flashvars.pagename = document.title;
              flashvars.pageurl = window.location.href;
              var params = {};
              params.play = "true";
              params.wmode = "transparent";
              params.allowscriptaccess = "sameDomain";
              var attributes = {};
              attributes.id = "videoplayer";

              swfobject.embedSWF("/images/videos/FlashVideos/videoplayer.swf", "videoalternate163", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate163" style="width:660px; height:410px; " >
                     <a href="http://www.adobe.com/go/getflashplayer">


                     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
              </a>
              </div>
 </div>
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/mZdujmv0LV4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/10/02/basics-using-accumarray/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/10/02/basics-using-accumarray/</feedburner:origLink></item>
		<item>
		<title>MATLAB virtual conference in October 2009</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/igChAI06yNU/</link>
		<comments>http://blogs.mathworks.com/videos/2009/09/25/matlab-virtual-conference-in-october-2009/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 20:42:57 +0000</pubDate>
		<dc:creator>dhull</dc:creator>
		
		<category><![CDATA[Topic: Puzzler]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/09/25/matlab-virtual-conference-in-october-2009/</guid>
		<description><![CDATA[The MathWorks holds free seminars around the country, but not everyone can afford the time and travel cost of attending one of these.  For this reason, we are holding a virtual conference in October.  Cleve, &#8220;The first MATLAB programmer&#8221; will be giving the keynote speech.  Many of your favorite bloggers will be [...]]]></description>
			<content:encoded><![CDATA[The MathWorks holds <a href="http://www.mathworks.com/company/events/seminars/?s_cid=HP_E_S">free seminars around the country</a>, but not everyone can afford the time and travel cost of attending one of these.  For this reason, we are holding a <a href="http://events.unisfair.com/index.jsp?eid=461&#038;seid=56&#038;code=mlvirtualgrspot">virtual conference</a> in October.  Cleve, &#8220;The first MATLAB programmer&#8221; will be giving the keynote speech.  Many of your <a href="http://blogs.mathworks.com/">favorite bloggers</a> will be holding discussion about MATLAB in the side events.  
<p><p>
I have been asked to write a few <a href="http://blogs.mathworks.com/videos/category/puzzler/">Puzzlers</a> to be posed at my booth.  There are a couple of good ones written already, with more to come.  It is a lot of fun to think that when I was a kid I read <a href="http://www.gamesmagazine-online.com/">Games magazine</a> and thought how cool it would be to make puzzles for a job&#8230;  Now it is one of the duties that I take on here at The MathWorks from time to time!
<p><p>
Please sign up for the <a href="http://events.unisfair.com/index.jsp?eid=461&#038;seid=56&#038;code=mlvirtualgrspot">virtual conference</a> and stop in to say hello.<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/igChAI06yNU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2009/09/25/matlab-virtual-conference-in-october-2009/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2009/09/25/matlab-virtual-conference-in-october-2009/</feedburner:origLink></item>
	</channel>
</rss>
