<?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 to&#8230;optimise Matlab</title>
	<atom:link href="http://www.programming4scientists.com/2010/02/05/how-to-optimise-matlab/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.programming4scientists.com/2010/02/05/how-to-optimise-matlab/</link>
	<description>Software development wisdom and common-sense for the scientist-programmer</description>
	<lastBuildDate>Mon, 14 Nov 2011 14:47:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Fedor</title>
		<link>http://www.programming4scientists.com/2010/02/05/how-to-optimise-matlab/comment-page-1/#comment-518</link>
		<dc:creator>Fedor</dc:creator>
		<pubDate>Mon, 26 Sep 2011 21:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.programming4scientists.com/?p=630#comment-518</guid>
		<description>I use mex-functions for Matlab often, exactly because of the for-loop reasons. It is quite straightforward for the usual data types (double, int, strings, etc.): the C-function has to call some Matlab functions to convert Matlab arrays into C arrays. The for-loops are of course becoming much much quicker (and also - the memory constraints of Matlab often do not apply! ). The complexity in this case depends on how familiar you are with C, and how complex your algorithm is to code it element-wise.

I did not use mex-functions for passing and handling objects though (structures, cell arrays, etc.)</description>
		<content:encoded><![CDATA[<p>I use mex-functions for Matlab often, exactly because of the for-loop reasons. It is quite straightforward for the usual data types (double, int, strings, etc.): the C-function has to call some Matlab functions to convert Matlab arrays into C arrays. The for-loops are of course becoming much much quicker (and also &#8211; the memory constraints of Matlab often do not apply! ). The complexity in this case depends on how familiar you are with C, and how complex your algorithm is to code it element-wise.</p>
<p>I did not use mex-functions for passing and handling objects though (structures, cell arrays, etc.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.programming4scientists.com/2010/02/05/how-to-optimise-matlab/comment-page-1/#comment-468</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 06 Feb 2010 09:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.programming4scientists.com/?p=630#comment-468</guid>
		<description>It&#039;s been a long time since I used Matlab. The last time I used it was to create my final year project using Matlab 6.0. The project was for creating an image compression tool. We were just amateurs at C back then. And when we got our hands on Matlab, we were amazed by the available features in the language.

The program we wrote did excellent image compression though it was a bit slow because we never really thought of optimizing it :)</description>
		<content:encoded><![CDATA[<p>It&#8217;s been a long time since I used Matlab. The last time I used it was to create my final year project using Matlab 6.0. The project was for creating an image compression tool. We were just amateurs at C back then. And when we got our hands on Matlab, we were amazed by the available features in the language.</p>
<p>The program we wrote did excellent image compression though it was a bit slow because we never really thought of optimizing it :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

