<?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: MATLAB Tips and Tricks</title>
	<atom:link href="http://blog.spencerkellis.net/2009/09/matlab-tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spencerkellis.net/2009/09/matlab-tips-and-tricks/</link>
	<description>An experiment in writing of life as I live it</description>
	<lastBuildDate>Wed, 04 Jan 2012 01:51:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Colin</title>
		<link>http://blog.spencerkellis.net/2009/09/matlab-tips-and-tricks/comment-page-1/#comment-2875</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Sat, 06 Nov 2010 20:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spencerkellis.net/?p=335#comment-2875</guid>
		<description>Thanks for this info! This is a big help.

One other trick I find helpful is the knowledge that MATLAB stores matrices in column-major ordering, so pulling out a column, like A(:,1), is much more efficient than pulling out a row, like A(1,:). So if you will be pulling out rows a lot, it is often effective to first transpose the matrix and then pull out columns.

This of course should be weighed against the computation required to take a transpose.</description>
		<content:encoded><![CDATA[<p>Thanks for this info! This is a big help.</p>
<p>One other trick I find helpful is the knowledge that MATLAB stores matrices in column-major ordering, so pulling out a column, like A(:,1), is much more efficient than pulling out a row, like A(1,:). So if you will be pulling out rows a lot, it is often effective to first transpose the matrix and then pull out columns.</p>
<p>This of course should be weighed against the computation required to take a transpose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Faster Matlab Calculation: Use Preallocation &#124; 小石头工作室 . Stone Studio .</title>
		<link>http://blog.spencerkellis.net/2009/09/matlab-tips-and-tricks/comment-page-1/#comment-1144</link>
		<dc:creator>Faster Matlab Calculation: Use Preallocation &#124; 小石头工作室 . Stone Studio .</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spencerkellis.net/?p=335#comment-1144</guid>
		<description>[...] via: S. Kellis] Related Posts:Unix2dos: Converts Linux And Macintosh Files To Windows FormatInstall Latest Flash [...]</description>
		<content:encoded><![CDATA[<p>[...] via: S. Kellis] Related Posts:Unix2dos: Converts Linux And Macintosh Files To Windows FormatInstall Latest Flash [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

