<?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: How our developers make MATLAB faster</title>
	<atom:link href="http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Paul-Armand Verhaegen</title>
		<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-13625</link>
		<dc:creator>Paul-Armand Verhaegen</dc:creator>
		<pubDate>Mon, 28 Jun 2010 15:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-13625</guid>
		<description>Confirmed by testing:
Strmatch is confirmed to be at least several times slower than the strcmp family of function on R2008a.

Thank you for the indications and for the proposing coding.</description>
		<content:encoded><![CDATA[<p>Confirmed by testing:<br />
Strmatch is confirmed to be at least several times slower than the strcmp family of function on R2008a.</p>
<p>Thank you for the indications and for the proposing coding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Phelan</title>
		<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12768</link>
		<dc:creator>Brad Phelan</dc:creator>
		<pubDate>Mon, 08 Sep 2008 07:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12768</guid>
		<description>Funny that this problem with rmfield has only just been noticed. I wrote a trivial mex file to solve this problem for my requirements about 3 years ago.

http://pastie.org/267994

It might not cover all bases but i remember it sped up my particular app significantly.</description>
		<content:encoded><![CDATA[<p>Funny that this problem with rmfield has only just been noticed. I wrote a trivial mex file to solve this problem for my requirements about 3 years ago.</p>
<p><a href="http://pastie.org/267994" rel="nofollow">http://pastie.org/267994</a></p>
<p>It might not cover all bases but i remember it sped up my particular app significantly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane Hanselman</title>
		<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12727</link>
		<dc:creator>Duane Hanselman</dc:creator>
		<pubDate>Fri, 05 Sep 2008 18:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12727</guid>
		<description>FYI...

% strmatch replacements
% strmatch is obsolete, strncmp and strcmp are built in
% case insensitive works too with strncmpi and strcmpi

idx=strmatch(str,strarray); % is replaced by
idx=find(strncmp(str,cellstr(strcell),length(str)));

% note that find( ) can be removed for logical results
% in any of these cases.

idx=strmatch(str,strcell); % is replaced by
idx=find(strncmp(str,strcell,length(str)));

idx=strmatch(str,strarray,&#039;exact&#039;); % is replaced by
idx=find(strcmp(strx,cellstr(strarray)));

idx=strmatch(str,strcell,&#039;exact&#039;); % is replaced by
idx=find(strcmp(strx,strcell));</description>
		<content:encoded><![CDATA[<p>FYI&#8230;</p>
<p>% strmatch replacements<br />
% strmatch is obsolete, strncmp and strcmp are built in<br />
% case insensitive works too with strncmpi and strcmpi</p>
<p>idx=strmatch(str,strarray); % is replaced by<br />
idx=find(strncmp(str,cellstr(strcell),length(str)));</p>
<p>% note that find( ) can be removed for logical results<br />
% in any of these cases.</p>
<p>idx=strmatch(str,strcell); % is replaced by<br />
idx=find(strncmp(str,strcell,length(str)));</p>
<p>idx=strmatch(str,strarray,&#8217;exact&#8217;); % is replaced by<br />
idx=find(strcmp(strx,cellstr(strarray)));</p>
<p>idx=strmatch(str,strcell,&#8217;exact&#8217;); % is replaced by<br />
idx=find(strcmp(strx,strcell));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12705</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 04 Sep 2008 14:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12705</guid>
		<description>Duane,

I just looked, I did not see an m-lint warning against STRMATCH in 2008a.  However, I seem to recall what you mention also.  

I have entered this into our internal enhancement tracking database.

Thanks,
Doug</description>
		<content:encoded><![CDATA[<p>Duane,</p>
<p>I just looked, I did not see an m-lint warning against STRMATCH in 2008a.  However, I seem to recall what you mention also.  </p>
<p>I have entered this into our internal enhancement tracking database.</p>
<p>Thanks,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane Hanselman</title>
		<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12688</link>
		<dc:creator>Duane Hanselman</dc:creator>
		<pubDate>Thu, 04 Sep 2008 00:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/#comment-12688</guid>
		<description>Did anyone ever try replacing strmatch with strcmp (or its siblings as needed)? I recall mlint telling me that this is much faster since strcmp now works when one argument is a cell array of strings. If I am not mistaken, strmatch is really an obsolete function now.

TF = strcmp(&#039;str&#039;, C) compares string str to the each element of cell array C, where str is a character vector (or a 1-by-1 cell array) and C is a cell array of strings.</description>
		<content:encoded><![CDATA[<p>Did anyone ever try replacing strmatch with strcmp (or its siblings as needed)? I recall mlint telling me that this is much faster since strcmp now works when one argument is a cell array of strings. If I am not mistaken, strmatch is really an obsolete function now.</p>
<p>TF = strcmp(&#8216;str&#8217;, C) compares string str to the each element of cell array C, where str is a character vector (or a 1-by-1 cell array) and C is a cell array of strings.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

