<?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: Basics: Making a title based on a variable value</title>
	<link>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/</link>
	<description>Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.</description>
	<pubDate>Sun, 22 Nov 2009 23:28:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1418</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Mon, 27 Apr 2009 13:11:02 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1418</guid>
		<description>@matt,

Yes, I knew MATLAB was doing something like that.  It was not the point of the video, so I just ignored it.  Glad to see someone noticed that in there!

Doug</description>
		<content:encoded><![CDATA[<p>@matt,</p>
<p>Yes, I knew MATLAB was doing something like that.  It was not the point of the video, so I just ignored it.  Glad to see someone noticed that in there!</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1417</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Mon, 27 Apr 2009 13:09:41 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1417</guid>
		<description>Petr,

It is funny, I give a "Doug's impossible MATLAB quiz" to many of the new hires in technical support.  Someone started doing the sprintf thing, and I guessed that she was a C programmer.  She was all like "How did you know that?"

Funny how that works.  I have never internalized the use of sprintf, even after 15 years of programming MATLAB!

-Doug</description>
		<content:encoded><![CDATA[<p>Petr,</p>
<p>It is funny, I give a &#8220;Doug&#8217;s impossible MATLAB quiz&#8221; to many of the new hires in technical support.  Someone started doing the sprintf thing, and I guessed that she was a C programmer.  She was all like &#8220;How did you know that?&#8221;</p>
<p>Funny how that works.  I have never internalized the use of sprintf, even after 15 years of programming MATLAB!</p>
<p>-Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petr Pošík</title>
		<link>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1408</link>
		<dc:creator>Petr Pošík</dc:creator>
		<pubDate>Fri, 24 Apr 2009 15:09:28 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1408</guid>
		<description>I do not know why (maybe because I have background in those old fashioned languages like C), for a long time I prefered to write

&lt;code&gt;
title( sprintf( '%s: %d', str, num ) );
&lt;/code&gt;

I have learned about this ['a' 'b'] way of doing it rather recently, but I have not get used to that yet. Although a bit more cryptic, sprintf gives me more freedom in formating the result.</description>
		<content:encoded><![CDATA[<p>I do not know why (maybe because I have background in those old fashioned languages like C), for a long time I prefered to write</p>
<p><code><br />
title( sprintf( &#8216;%s: %d&#8217;, str, num ) );<br />
</code></p>
<p>I have learned about this [&#8217;a&#8217; &#8216;b&#8217;] way of doing it rather recently, but I have not get used to that yet. Although a bit more cryptic, sprintf gives me more freedom in formating the result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt fig</title>
		<link>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1407</link>
		<dc:creator>matt fig</dc:creator>
		<pubDate>Fri, 24 Apr 2009 15:09:27 +0000</pubDate>
		<guid>http://blogs.mathworks.com/videos/2009/04/24/basics-making-a-title-based-on-a-variable-value/#comment-1407</guid>
		<description>For any who might be interested in why you got an asterisk.

char(42)
double('*')

Matlab did a little num2str on it's own, though not in the way which was desired!</description>
		<content:encoded><![CDATA[<p>For any who might be interested in why you got an asterisk.</p>
<p>char(42)<br />
double(&#8217;*')</p>
<p>Matlab did a little num2str on it&#8217;s own, though not in the way which was desired!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
