<?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: How our developers make MATLAB faster</title>
	<link>http://blogs.mathworks.com/pick/2008/09/03/how-our-developers-make-matlab-faster/</link>
	<description>&#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=969735&#38;objectType=author"&#62;Bob&#60;/a&#62;, &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author"&#62;Brett&#60;/a&#62; &#38; &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author"&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<pubDate>Sun, 22 Nov 2009 23:44:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<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>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>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,'exact'); % is replaced by
idx=find(strcmp(strx,cellstr(strarray)));

idx=strmatch(str,strcell,'exact'); % 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>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>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('str', 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(&#8217;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>
