<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Doug&#039;s MATLAB Video Tutorials</title>
	<atom:link href="http://blogs.mathworks.com/videos/comments/feed/" rel="self" type="application/rss+xml" />
	<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>Fri, 24 May 2013 18:04:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Dynamic field name usage by doug</title>
		<link>http://blogs.mathworks.com/videos/2009/02/27/dynamic-field-name-usage/#comment-24189</link>
		<dc:creator>doug</dc:creator>
		<pubDate>Fri, 24 May 2013 18:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/02/27/dynamic-field-name-usage/#comment-24189</guid>
		<description><![CDATA[@Markus,

I do not see fileName in your code.  Which line is throwing the error?

Doug]]></description>
		<content:encoded><![CDATA[<p>@Markus,</p>
<p>I do not see fileName in your code.  Which line is throwing the error?</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic field name usage by Markus</title>
		<link>http://blogs.mathworks.com/videos/2009/02/27/dynamic-field-name-usage/#comment-24185</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Fri, 24 May 2013 17:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2009/02/27/dynamic-field-name-usage/#comment-24185</guid>
		<description><![CDATA[Hi Doug,

thanks a lot for all the great tutorials on Matlab. I really learned a lot from you. ;-)

But know I am stucked with a simple problem for hours. I want to save an list of arguments to a variable in the beginning of my m-file so that I can configure the plotting options for all plots at once.

I tried the following to define the options list:


LegendText={&#039;Location&#039;,&#039;SouthEast&#039;, &#039;Interpreter&#039;, &#039;latex&#039;,&#039;FontSize&#039;,16};
PlotOptions={&#039;MarkerSize&#039;,5,&#039;LineWidth&#039;,1,&#039;DisplayName&#039;,FileName{i}}


But this does not work when calling the functions


for i = 1:10
  plot (x,y{i},PlotOptions);
  legend1 = legend(&#039;show&#039;,&#039;-DynamicLegend&#039;);
  legend ([legend1, LegendText])
end


Do you have any idea how to use &quot;dynamic field names&quot; in the argument list with a variable which is later running in a loop (in this case the variable FileName{i})??

Thanks a lot in advance for any tip!

Markus]]></description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>thanks a lot for all the great tutorials on Matlab. I really learned a lot from you. ;-)</p>
<p>But know I am stucked with a simple problem for hours. I want to save an list of arguments to a variable in the beginning of my m-file so that I can configure the plotting options for all plots at once.</p>
<p>I tried the following to define the options list:</p>
<p>LegendText={&#8216;Location&#8217;,'SouthEast&#8217;, &#8216;Interpreter&#8217;, &#8216;latex&#8217;,'FontSize&#8217;,16};<br />
PlotOptions={&#8216;MarkerSize&#8217;,5,&#8217;LineWidth&#8217;,1,&#8217;DisplayName&#8217;,FileName{i}}</p>
<p>But this does not work when calling the functions</p>
<p>for i = 1:10<br />
  plot (x,y{i},PlotOptions);<br />
  legend1 = legend(&#8216;show&#8217;,'-DynamicLegend&#8217;);<br />
  legend ([legend1, LegendText])<br />
end</p>
<p>Do you have any idea how to use &#8220;dynamic field names&#8221; in the argument list with a variable which is later running in a loop (in this case the variable FileName{i})??</p>
<p>Thanks a lot in advance for any tip!</p>
<p>Markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polar surface plot in MATLAB by Tony Almeida</title>
		<link>http://blogs.mathworks.com/videos/2013/05/17/polar-surface-plot-in-matlab/#comment-24165</link>
		<dc:creator>Tony Almeida</dc:creator>
		<pubDate>Thu, 23 May 2013 11:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=1103#comment-24165</guid>
		<description><![CDATA[Nice video. Just a quick note: you can also easily take care of the dense grid using the command


shading flat


or


shading interp


In this last case, the shading of the surface plot will be interpolated.]]></description>
		<content:encoded><![CDATA[<p>Nice video. Just a quick note: you can also easily take care of the dense grid using the command</p>
<p>shading flat</p>
<p>or</p>
<p>shading interp</p>
<p>In this last case, the shading of the surface plot will be interpolated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deleting an element from a cell array by doug</title>
		<link>http://blogs.mathworks.com/videos/2010/03/30/deleting-an-element-from-a-cell-array/#comment-23258</link>
		<dc:creator>doug</dc:creator>
		<pubDate>Mon, 13 May 2013 13:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2010/03/30/deleting-an-element-from-a-cell-array/#comment-23258</guid>
		<description><![CDATA[@Filip,

You will need to pull the value of the cell array out, then delete it, and put it back in the cell.  You can not do this in one operation.

Doug]]></description>
		<content:encoded><![CDATA[<p>@Filip,</p>
<p>You will need to pull the value of the cell array out, then delete it, and put it back in the cell.  You can not do this in one operation.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deleting an element from a cell array by Filip</title>
		<link>http://blogs.mathworks.com/videos/2010/03/30/deleting-an-element-from-a-cell-array/#comment-23198</link>
		<dc:creator>Filip</dc:creator>
		<pubDate>Sun, 12 May 2013 18:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2010/03/30/deleting-an-element-from-a-cell-array/#comment-23198</guid>
		<description><![CDATA[I have an cell array 1x4.
keys = [1x13 double 1x13 double 1x13 double 1x13 double].
I want to delete this element: keys{1,4}(1,8)
When I use keys{1,4}(1,8) = []
matlab says:??? A null assignment can have only one non-colon index.

Can you please help me with this problem?]]></description>
		<content:encoded><![CDATA[<p>I have an cell array 1&#215;4.<br />
keys = [1x13 double 1x13 double 1x13 double 1x13 double].<br />
I want to delete this element: keys{1,4}(1,8)<br />
When I use keys{1,4}(1,8) = []<br />
matlab says:??? A null assignment can have only one non-colon index.</p>
<p>Can you please help me with this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copying a figure to the clipboard by Matti</title>
		<link>http://blogs.mathworks.com/videos/2010/04/21/copying-a-figure-to-the-clipboard/#comment-22767</link>
		<dc:creator>Matti</dc:creator>
		<pubDate>Tue, 07 May 2013 07:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2010/04/21/copying-a-figure-to-the-clipboard/#comment-22767</guid>
		<description><![CDATA[Hello Doug, thanks for informative posts.
I was wonder that is it possible to copy to clipboard Matlab figure without larger outer borders?
Otherwise this code that you presented would work, but if I have one figure which size is whole screen, copy-pasting includes huge borders especially in vertical direction. 

Usually I need to do some cropping when pasting copied figure to e.g. Powerpoint.

Thanks,
Matti]]></description>
		<content:encoded><![CDATA[<p>Hello Doug, thanks for informative posts.<br />
I was wonder that is it possible to copy to clipboard Matlab figure without larger outer borders?<br />
Otherwise this code that you presented would work, but if I have one figure which size is whole screen, copy-pasting includes huge borders especially in vertical direction. </p>
<p>Usually I need to do some cropping when pasting copied figure to e.g. Powerpoint.</p>
<p>Thanks,<br />
Matti</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copying a figure to the clipboard by Dave Finamore</title>
		<link>http://blogs.mathworks.com/videos/2010/04/21/copying-a-figure-to-the-clipboard/#comment-22756</link>
		<dc:creator>Dave Finamore</dc:creator>
		<pubDate>Mon, 06 May 2013 20:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2010/04/21/copying-a-figure-to-the-clipboard/#comment-22756</guid>
		<description><![CDATA[Is anyone aware of any recent problems using the toolbar command Edit-&gt;Copy Figure to put figures onto the clipboard?

That&#039;s how I&#039;ve been doing it for years, but just last week that method started consuming 50% of my processor bandwidth and taking minutes to complete.  It doesn&#039;t happen on simple plots, but does happen on mesh plots of 200x400 matrices.

My workaround is print -dmeta.  That works, but Copy Figure essentially hangs the computer.  Three different computers, all running R2011b.

This could be many things, but it&#039;s good to start by finding out if it&#039;s a systemic problem or just me.

Thanks!
Dave]]></description>
		<content:encoded><![CDATA[<p>Is anyone aware of any recent problems using the toolbar command Edit-&gt;Copy Figure to put figures onto the clipboard?</p>
<p>That&#8217;s how I&#8217;ve been doing it for years, but just last week that method started consuming 50% of my processor bandwidth and taking minutes to complete.  It doesn&#8217;t happen on simple plots, but does happen on mesh plots of 200&#215;400 matrices.</p>
<p>My workaround is print -dmeta.  That works, but Copy Figure essentially hangs the computer.  Three different computers, all running R2011b.</p>
<p>This could be many things, but it&#8217;s good to start by finding out if it&#8217;s a systemic problem or just me.</p>
<p>Thanks!<br />
Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Speeding up User Interfaces in MATLAB with profiler by Yair Altman</title>
		<link>http://blogs.mathworks.com/videos/2013/05/03/speeding-up-user-interfaces-in-matlab-with-profiler/#comment-22718</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Sat, 04 May 2013 22:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=1101#comment-22718</guid>
		<description><![CDATA[Hi Doug,

In my experience many Matlab programmers are surprisingly unaware that they can turn profiling on and off at will, interactively or programmatically, while a Matlab program is running. Doing so can significantly improve our profiling and performance-tuning effectiveness. 

I don&#039;t normally use dedicated GUI controls, since this &quot;soils&quot; my GUI, and I&#039;d need to update the layout. Instead, I typically just run 

&lt;code&gt;profile on; ... profile off; profile report&quot; 
&lt;/code&gt;

from the Command Prompt just before starting the workflow-to-be-analyzed. Simpler still, I click the &quot;Start/Stop profiling&quot; button in the Profiler tool. Another simpler alternative is to create two simple shortcuts in the Desktop that start/stop profiling respectively. This obviates the need to update numerous different GUIs separately.

In a related note, I often use the technique of selective workflow profiling to understand how a customer&#039;s GUI behaves and works. I start profiling, interact with a specific GUI part, and then stop profiling and look at the detailed report to see what the code did in this time. It is then easy to step right into the relevant part and start coding/fixing. Customers are often surprised how quickly I can understand and fix their code, when it&#039;s really just the selective use of the Profiler... Let&#039;s keep this trade secret between us, shall we? :-)]]></description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>In my experience many Matlab programmers are surprisingly unaware that they can turn profiling on and off at will, interactively or programmatically, while a Matlab program is running. Doing so can significantly improve our profiling and performance-tuning effectiveness. </p>
<p>I don&#8217;t normally use dedicated GUI controls, since this &#8220;soils&#8221; my GUI, and I&#8217;d need to update the layout. Instead, I typically just run </p>
<p><code>profile on; ... profile off; profile report"<br />
</code></p>
<p>from the Command Prompt just before starting the workflow-to-be-analyzed. Simpler still, I click the &#8220;Start/Stop profiling&#8221; button in the Profiler tool. Another simpler alternative is to create two simple shortcuts in the Desktop that start/stop profiling respectively. This obviates the need to update numerous different GUIs separately.</p>
<p>In a related note, I often use the technique of selective workflow profiling to understand how a customer&#8217;s GUI behaves and works. I start profiling, interact with a specific GUI part, and then stop profiling and look at the detailed report to see what the code did in this time. It is then easy to step right into the relevant part and start coding/fixing. Customers are often surprised how quickly I can understand and fix their code, when it&#8217;s really just the selective use of the Profiler&#8230; Let&#8217;s keep this trade secret between us, shall we? :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tutorial: How to make a custom data tip in MATLAB by Doug</title>
		<link>http://blogs.mathworks.com/videos/2011/10/19/tutorial-how-to-make-a-custom-data-tip-in-matlab/#comment-22528</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 01 May 2013 20:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2011/10/19/tutorial-how-to-make-a-custom-data-tip-in-matlab/#comment-22528</guid>
		<description><![CDATA[Giaime,

You can put whatever code you like in the function.  Beware of what variables are in and out of scope and the order things are called, but yes, you should be able to do what you are talking about.

Doug]]></description>
		<content:encoded><![CDATA[<p>Giaime,</p>
<p>You can put whatever code you like in the function.  Beware of what variables are in and out of scope and the order things are called, but yes, you should be able to do what you are talking about.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using &#8216;dbstop if error&#8217; and conditional breakpoints to debug MATLAB by Yair Altman</title>
		<link>http://blogs.mathworks.com/videos/2013/04/08/using-dbstop-if-error-and-conditional-breakpoints-to-debug-matlab/#comment-22512</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Tue, 30 Apr 2013 22:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/?p=1077#comment-22512</guid>
		<description><![CDATA[I use &lt;code&gt;dbstop if error&lt;/code&gt; all the time, for many years. In fact it&#039;s even in my startup.m script. However, users should be aware that it has some drawbacks on the latest Matlab releases:

1. It clashes with GUIDE, making GUIDE unusable (verified bug reference 1-MH5KVI)
2. It apparently causes memory leaks in the new desktop Editor, causing increasingly large delays whenever a breakpoint is encountered and exited (unverified, but also reported by others in forums)

Hopefully these bugs will be solved soon, since this is such an important debugging mechanism.]]></description>
		<content:encoded><![CDATA[<p>I use <code>dbstop if error</code> all the time, for many years. In fact it&#8217;s even in my startup.m script. However, users should be aware that it has some drawbacks on the latest Matlab releases:</p>
<p>1. It clashes with GUIDE, making GUIDE unusable (verified bug reference 1-MH5KVI)<br />
2. It apparently causes memory leaks in the new desktop Editor, causing increasingly large delays whenever a breakpoint is encountered and exited (unverified, but also reported by others in forums)</p>
<p>Hopefully these bugs will be solved soon, since this is such an important debugging mechanism.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
