<?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 on: sprintfc &#8211; undocumented helper function	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sprintfc-undocumented-helper-function</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 02 Jul 2015 03:18:07 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: How do I make a column vector into an array of strings? - DexPage		</title>
		<link>https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-352267</link>

		<dc:creator><![CDATA[How do I make a column vector into an array of strings? - DexPage]]></dc:creator>
		<pubDate>Thu, 02 Jul 2015 03:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4419#comment-352267</guid>

					<description><![CDATA[[...] you can use undocumented built-in function sprintfc to convert a numeric array to a cell array of strings like so [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] you can use undocumented built-in function sprintfc to convert a numeric array to a cell array of strings like so [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Class object creation performance &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-303735</link>

		<dc:creator><![CDATA[Class object creation performance &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 11 Dec 2013 16:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4419#comment-303735</guid>

					<description><![CDATA[[...] Matlab application&#039;s performance and your Matlab programming skills in general, join my upcoming Advanced Matlab Programming course in London, March 2014 – an intensive 2 day course on best practices, preparing professional [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Matlab application&#039;s performance and your Matlab programming skills in general, join my upcoming Advanced Matlab Programming course in London, March 2014 – an intensive 2 day course on best practices, preparing professional [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matteo		</title>
		<link>https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-299927</link>

		<dc:creator><![CDATA[Matteo]]></dc:creator>
		<pubDate>Thu, 28 Nov 2013 17:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4419#comment-299927</guid>

					<description><![CDATA[Hi Yair

I tried to figure out how to do this, and with higher dimension cell arrays, when I was still a Matlab newbie. I was obviously ahead of myself, but with a ton of reading, testing, and asking around, I managed. But if I needed to do that again it is good to know about this function. Great tip, nice post. Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi Yair</p>
<p>I tried to figure out how to do this, and with higher dimension cell arrays, when I was still a Matlab newbie. I was obviously ahead of myself, but with a ton of reading, testing, and asking around, I managed. But if I needed to do that again it is good to know about this function. Great tip, nice post. Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-299842</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 28 Nov 2013 08:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4419#comment-299842</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-299838&quot;&gt;Yaroslav Don&lt;/a&gt;.

@Yaroslav - ah! makes sense, also correlates with the &lt;i&gt;num2str.m&lt;/i&gt; code. I&#039;ve updated the main text accordingly. Thanks :-)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-299838">Yaroslav Don</a>.</p>
<p>@Yaroslav &#8211; ah! makes sense, also correlates with the <i>num2str.m</i> code. I&#8217;ve updated the main text accordingly. Thanks 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yaroslav Don		</title>
		<link>https://undocumentedmatlab.com/articles/sprintfc-undocumented-helper-function#comment-299838</link>

		<dc:creator><![CDATA[Yaroslav Don]]></dc:creator>
		<pubDate>Thu, 28 Nov 2013 08:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4419#comment-299838</guid>

					<description><![CDATA[Yair hi,
After a short inspection I&#039;ve come to the following conclusion: the third variable, &lt;code&gt;isLeft&lt;/code&gt;, is used to indicate whether the output cell-string is left-justified; namely, if the &lt;code&gt;&#039;-&#039;&lt;/code&gt; flag is used within the format.  For example,
&lt;pre lang=&quot;matlab&quot;&gt;
&gt;&gt; [cells, ~, isLeft] = sprintfc(&#039;%-8.5g&#039;, sqrt(2), false)
cells = 
    &#039;1.4142  &#039;
isLeft =
    1
&lt;/pre&gt;
however, 
&lt;pre lang=&quot;matlab&quot;&gt;
&gt;&gt; [cells, ~, isLeft] = sprintfc(&#039;%8.5g&#039;, sqrt(2), false)
cells = 
    &#039;  1.4142&#039;
isLeft =
    0
&lt;/pre&gt;

Sincerely, Yaroslav]]></description>
			<content:encoded><![CDATA[<p>Yair hi,<br />
After a short inspection I&#8217;ve come to the following conclusion: the third variable, <code>isLeft</code>, is used to indicate whether the output cell-string is left-justified; namely, if the <code>'-'</code> flag is used within the format.  For example,</p>
<pre lang="matlab">
>> [cells, ~, isLeft] = sprintfc('%-8.5g', sqrt(2), false)
cells = 
    '1.4142  '
isLeft =
    1
</pre>
<p>however, </p>
<pre lang="matlab">
>> [cells, ~, isLeft] = sprintfc('%8.5g', sqrt(2), false)
cells = 
    '  1.4142'
isLeft =
    0
</pre>
<p>Sincerely, Yaroslav</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
