<?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"?><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:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" 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>
	<lastBuildDate>Wed, 02 May 2012 13:05:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/DougsMatlabVideoTutorials" /><feedburner:info uri="dougsmatlabvideotutorials" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>DougsMatlabVideoTutorials</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>MATLAB training through Cody</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/bbZ6X6G6ch8/</link>
		<comments>http://blogs.mathworks.com/videos/2012/05/02/matlab-training-through-cody/#comments</comments>
		<pubDate>Wed, 02 May 2012 13:05:09 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Level: Basic]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=715</guid>
		<description><![CDATA[Cody is one of my favorite ways of learning MATLAB. I have recently created a problem in Cody where you are to solve addition problems of this puzzle style: W A I T + A L L --------- G I F T S equals: 9 6 0 8 + 6 7 7 --------- 1 0 [...]]]></description>
			<content:encoded><![CDATA[Cody is one of my favorite ways of learning MATLAB.  I have recently <a href="http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition">created a problem in Cody</a> where you are to solve addition problems of this puzzle style:

<p>

<pre>    W A I T
  +   A L L
  ---------
  G I F T S
equals:

    9 6 0 8
  +   6 7 7
  ---------
  1 0 2 8 5</pre>

<p>

What I like about this problem is that it can be broken down into a series of smaller problems.  I have made Cody problems for those more fundamental skills also.  If you can accomplish the sub problems listed, then they can be combined to solve the original larger problem.  If these are popular, I hope to make a large series of problems that can be used to learn and practice the fundamental skills of MATLAB programming.

<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/bbZ6X6G6ch8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/05/02/matlab-training-through-cody/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/05/02/matlab-training-through-cody/</feedburner:origLink></item>
		<item>
		<title>Choosing a visualization in MATLAB</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/nJt1SExQn4M/</link>
		<comments>http://blogs.mathworks.com/videos/2012/04/26/choosing-a-visualization-in-matlab/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 13:00:45 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=704</guid>
		<description><![CDATA[Knowing what visualizations of your data are useful is half the challenge. We recently added a plot type gallery to our website. It allows you to see many different MATLAB graphics at once. Find the one that looks like what you want and see a short example of how to do it. I had collaborated [...]]]></description>
			<content:encoded><![CDATA[Knowing what visualizations of your data are useful is half the challenge.  We recently added a <a href="http://www.mathworks.com/discovery/gallery.html">plot type gallery</a> to our website.  It allows you to see many different MATLAB graphics at once.  Find the one that looks like what you want and see a short example of how to do it.
<p>
<p>
I had <a href="http://blogs.mathworks.com/videos/2009/01/16/flow-chart-shows-which-visualization-to-use/">collaborated</a> with <a href="http://flowingData.com">Flowing Data</a> a while back to add to their flowchart on how to decide which visualization to use.  Try them both!
<p>
<p>
<a href='http://blogs.mathworks.com/videos/../images/videos/2009/01/flowchartmod.jpg' title='MATLAB flowchart'><img src='http://blogs.mathworks.com/videos/../images/videos/2009/01/flowchartmod.jpg' alt='MATLAB flowchart' /></a>
<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/nJt1SExQn4M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/04/26/choosing-a-visualization-in-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/04/26/choosing-a-visualization-in-matlab/</feedburner:origLink></item>
		<item>
		<title>Using convolution to smooth data with a moving average in MATLAB</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/C6l40mOQK28/</link>
		<comments>http://blogs.mathworks.com/videos/2012/04/17/using-convolution-to-smooth-data-with-a-moving-average-in-matlab/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 17:59:38 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Format: Video]]></category>
		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=668</guid>
		<description><![CDATA[I teach the introduction to MATLAB classes for all new hires in the Technical Support group at MathWorks. One of the attendees wanted to know how to do a moving average in MATLAB. This can be useful for filtering, or smoothing, noisy data. I realized I had never covered that on the blog, so here [...]]]></description>
			<content:encoded><![CDATA[I teach the introduction to MATLAB classes for all new hires in the Technical Support group at MathWorks.  One of the attendees wanted to know how to do a moving average in MATLAB.  This can be useful for filtering, or smoothing, noisy data.  I realized I had never covered that on the blog, so here we go! I show how to do this from scratch using <tt>conv</tt>. If you have the Curve Fitting Toolbox, you might want to check out <a href="http://www.mathworks.com/help/toolbox/curvefit/smooth.html"><tt>smooth</tt></a>, which adds some fancier smoothing methods. 
<p>

<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/271 Moving Average";
              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", "videoalternate271", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate271" 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/C6l40mOQK28" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/04/17/using-convolution-to-smooth-data-with-a-moving-average-in-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/04/17/using-convolution-to-smooth-data-with-a-moving-average-in-matlab/</feedburner:origLink></item>
		<item>
		<title>Cody problems and programming contest preview?</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/o_KlDwKoWUY/</link>
		<comments>http://blogs.mathworks.com/videos/2012/04/03/cody-problems-and-programming-contest-preview/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 18:30:52 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=686</guid>
		<description><![CDATA[The MATLAB programming contest team has released six Cody problems today. These should be interesting in their own right, but those of you that want a head start on the programming contest that starts tomorrow might want to look at them too. They are &#8216;thematically similar&#8217; to this season&#8217;s programming contest. They could help you [...]]]></description>
			<content:encoded><![CDATA[The MATLAB programming contest team has released <a href="http://www.mathworks.com/matlabcentral/cody/?term=group%3A%22Tiles+Challenge%22">six Cody</a> problems today.  These should be interesting in their own right, but those of you that want a head start on the programming contest that starts tomorrow might want to look at them too.  They are &#8216;thematically similar&#8217; to this season&#8217;s programming contest.  They could help you start thinking in the right direction for the <a href="http://www.mathworks.com/matlabcentral/contest/">contest that starts at Noon on Wednesday</a>.

<p>

Enjoy!<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/o_KlDwKoWUY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/04/03/cody-problems-and-programming-contest-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/04/03/cody-problems-and-programming-contest-preview/</feedburner:origLink></item>
		<item>
		<title>MATLAB Tutorial, processing an Excel file in MATLAB</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/HWoi8SGmwgc/</link>
		<comments>http://blogs.mathworks.com/videos/2012/03/28/matlab-tutorial-processing-an-excel-file-in-matlab/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 17:08:43 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Format: Video]]></category>
		<category><![CDATA[Level: Basic]]></category>
		<category><![CDATA[Topic: Excel]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=659</guid>
		<description><![CDATA[It is very commong to read through all the values in an Excel spreadsheet to process them in MATLAB. Here is a simple example of importing Excel in MATLAB and looping through the values. var flashvars = {}; flashvars.xmlfile = "/images/videos/FlashVideos/270 Loop through Excel File"; flashvars.pagename = document.title; flashvars.pageurl = window.location.href; var params = {}; [...]]]></description>
			<content:encoded><![CDATA[It is very commong to read through all the values in an Excel spreadsheet to process them in MATLAB.  Here is a simple example of importing Excel in MATLAB and looping through the values.
<p>
<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/270 Loop through Excel File";
              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", "videoalternate270", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate270" 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/HWoi8SGmwgc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/03/28/matlab-tutorial-processing-an-excel-file-in-matlab/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/03/28/matlab-tutorial-processing-an-excel-file-in-matlab/</feedburner:origLink></item>
		<item>
		<title>Regression in MATLAB</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/enKJyhVmm5s/</link>
		<comments>http://blogs.mathworks.com/videos/2012/03/16/regression-in-matlab/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 15:21:53 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=649</guid>
		<description><![CDATA[There are three new functions for regression in the 2012a release of MATLAB. I am not an expert in this area, but Richard is. Enjoy his video about these capabilities. var flashvars = {}; flashvars.xmlfile = "/images/videos/FlashVideos/269 Fitting Richard"; flashvars.pagename = document.title; flashvars.pageurl = window.location.href; var params = {}; params.play = "true"; params.wmode = "transparent"; [...]]]></description>
			<content:encoded><![CDATA[There are three new functions for regression in the <a href="http://www.mathworks.com/products/new_products/latest_features.html?s_cid=HP_FP_LR_2012a">2012a release of MATLAB</a>.  I am not an expert in this area, but Richard is.  Enjoy his video about these capabilities.

<p>

<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/269 Fitting Richard";
              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", "videoalternate269", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate269" 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/enKJyhVmm5s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/03/16/regression-in-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/03/16/regression-in-matlab/</feedburner:origLink></item>
		<item>
		<title>MATLAB 2012a: Face detection</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/V0NS1eOdvcM/</link>
		<comments>http://blogs.mathworks.com/videos/2012/03/09/maltab-2012a-face-recognition/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 18:49:54 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Format: Video]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=636</guid>
		<description><![CDATA[The new release of MATLAB is here! I was looking through it, and one thing that caught my eye the most was some face detection algorithms have been added. This is great because I get questions about it a fair amount. I am lending the blog to my friend and colleague, Bruce, to show you [...]]]></description>
			<content:encoded><![CDATA[The <a href="http://www.mathworks.com/products/new_products/latest_features.html?s_cid=HP_FP_LR_2012a">new release of MATLAB is here</a>!
<p>

I was looking through it, and one thing that caught my eye the most was some face detection algorithms have been added.  This is great because I get questions about it a fair amount.  I am lending the blog to my friend and colleague, Bruce, to show you what is new in this area of MATLAB.
<p>

<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/267 Bruce Image";
              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", "videoalternate267", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate267" 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>

<p>
ps.  I just watched this video with someone in the office.  His response:  &#8220;I spent one and a half years of grad school trying to do that!&#8221;<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/V0NS1eOdvcM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/03/09/maltab-2012a-face-recognition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/03/09/maltab-2012a-face-recognition/</feedburner:origLink></item>
		<item>
		<title>Piecewise linear curve fitting</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/Z65OXq-K57M/</link>
		<comments>http://blogs.mathworks.com/videos/2012/03/02/piecewise-linear-curve-fitting/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 17:37:02 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=624</guid>
		<description><![CDATA[This week, I am getting back to my blogging roots and I want to highlight (and thank) John D&#8217;errico for a great file Exchange submission. That file is Shape Language Modeling. Recently I had some very noisy data that I wanted to fit a curve to. The problem is there were different regions that were [...]]]></description>
			<content:encoded><![CDATA[This week, I am getting back to my blogging roots and I want to highlight (and thank) <a href="http://www.mathworks.com/matlabcentral/fileexchange/authors/679">John D&#8217;errico</a> for a great file Exchange submission.  That file is <a href="http://www.mathworks.com/matlabcentral/fileexchange/24443-slm-shape-language-modeling">Shape Language Modeling</a>.

<p>
<p>

Recently I had some very noisy data that I wanted to fit a curve to.  The problem is there were different regions that were somewhat linear, but the overall data was far from linear.  A spline or a  polynomial did not capture the behavior in a global sense.  What I wanted was the ability to fit a line to each region.  SLM does that right out of the box.

<a href="http://blogs.mathworks.com/videos/files/2012/03/linModel.jpg"><img src="http://blogs.mathworks.com/videos/files/2012/03/linModel.jpg" alt="" title="linModel" width="600" class="aligncenter size-full wp-image-625" /></a>

<p>

I think it is very instructive to look at how this code was packaged up.  There is a clearly labeled tutorial that was easy to scan looking for an example like what I wanted to do.  All of the files have lots of comments.  sometimes more comments that code I think.  The files are named coherently so they make a nice package.  These are all great things to make a package that other people can use.<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/Z65OXq-K57M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/03/02/piecewise-linear-curve-fitting/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/03/02/piecewise-linear-curve-fitting/</feedburner:origLink></item>
		<item>
		<title>Cody challenges added: Poker Series</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/i8J6b3wBpHw/</link>
		<comments>http://blogs.mathworks.com/videos/2012/02/23/cody-challenges-added-poker-series/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 21:04:31 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=611</guid>
		<description><![CDATA[Cody is a great way to learn MATLAB. Recently, a new series of problems have been added. This series of problems will be excellent for people that are new to MATLAB to solve. There are 11 problems, that taken together will walk you down a path such that at the end, you will have some [...]]]></description>
			<content:encoded><![CDATA[Cody is a great way to learn MATLAB.  Recently, a <a href="http://www.mathworks.com/matlabcentral/cody/?term=tag%3A%22pokerseries%22">new series of problems</a> have been added.  This series of problems will be excellent for people that are new to MATLAB to solve.  There are 11 problems, that taken together will walk you down a path such that at the end, you will have some code that can compare two sets of playing cards and determine which can make the better poker hand.
<p><p>
The math behind this will give you a chance to practice lots of indexing, comparisons, pattern matching, flow control, cell arrays, structures, sub-functions, etc.  The test suites have been designed to catch as many edge cases as possible so that to successfully finish each function, you will need to really get it right.   You then will get a chance to reuse the code from each challenge to the next.
<p><p>
You will also be able to see how other people solve these problems.  For instance, I have put my solution in there to be viewed.  My code is usually very long, but easy to understand.  You will also see other people using more advanced techniques that use less lines of code.  This gives you a chance to see code of known functionality that uses (possibly) unfamiliar techniques.
<p><p>
I recommend you start with the code <a href="http://www.mathworks.com/matlabcentral/cody/problems/329-poker-series-01-isstraightflush">IsStraightFlush</a>.
<p><p>
Can you make code that can tell that this matrix:
<p><p>
<code><pre>[0 0 0 0 0 0 0 0 0 0 0 0 0;
 0 0 <strong>1 1 1 1 1</strong> 0 0 0 0 0 0;
 0 0 0 0 0 0 0 0 0 0 0 0 0;
 0 0 0 0 0 0 0 0 0 0 0 0 0];</pre></code>

contains five cards in the same row and adjacent columns, while 


<code><pre>[0 0 0 0 0 0 0 0 0 0 0 0 0;
 0 0<strong> 1 1 1</strong> 0 <strong>1</strong> 0 0 0 0 0 0;
 0 0 0 0 0 0 0 0 0 0 0 0 0;
 0 0 0 0 0 0 0 0 0 0 0 <strong>1</strong> 0];</pre></code>

does not?

What about the tricky case where the Ace (column 1) is considered high?

<code><pre>[0 0 0 0 0 0 0 0 0 0 0 0 0;
 0 0 0 0 0 0 0 0 0 0 0 0 0;
 <strong>1</strong> 0 0 0 0 0 0 0 0 <strong>1 1 1 1</strong>;
 0 0 0 0 0 0 0 0 0 0 0 0 0];</pre></code>





<img src="http://feeds.feedburner.com/~r/DougsMatlabVideoTutorials/~4/i8J6b3wBpHw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/02/23/cody-challenges-added-poker-series/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/02/23/cody-challenges-added-poker-series/</feedburner:origLink></item>
		<item>
		<title>Highlighting solutions to Project Euler problems 001-005</title>
		<link>http://feedproxy.google.com/~r/DougsMatlabVideoTutorials/~3/IhkrXS6B-Ao/</link>
		<comments>http://blogs.mathworks.com/videos/2012/02/14/highlighting-solutions-to-project-euler-problems-001-005/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 17:29:39 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Format: Video]]></category>
		<category><![CDATA[Level: Basic]]></category>

		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=593</guid>
		<description><![CDATA[I’ve been excited by the great response to the Project Euler problems that I’ve posted on Cody. This video takes a look at my favorite submission for each of the first five problems. Take a look at how other people have solved these problems, you might see some MATLAB techniques that are new to you. [...]]]></description>
			<content:encoded><![CDATA[I’ve been excited by the great response to the  <a href="http://www.mathworks.com/matlabcentral/cody/?term=tag%3A%22projecteuler%22">Project Euler</a> problems that I’ve posted on Cody.  This video takes a look at my favorite submission for each of the first five problems.  Take a look at how other people have solved these problems, you might see some MATLAB techniques that are new to you.

<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/267 Euler 001-005";
              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", "videoalternate267", "660", "410", "9.0.0", false, flashvars, params, attributes);
       </script>
              <div id="videoalternate267" 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/IhkrXS6B-Ao" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.mathworks.com/videos/2012/02/14/highlighting-solutions-to-project-euler-problems-001-005/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blogs.mathworks.com/videos/2012/02/14/highlighting-solutions-to-project-euler-problems-001-005/</feedburner:origLink></item>
	</channel>
</rss>

