<?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: MATLAB Basics video: Sorting matrices</title>
	<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/</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>Mon, 23 Nov 2009 01:14:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13202</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 16 Jul 2009 14:58:08 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13202</guid>
		<description>@Mark

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.html

Use sort with the second output argument.  That gives the absolute index, but you can use IND2SUB to get back to row and column.

-Doug</description>
		<content:encoded><![CDATA[<p>@Mark</p>
<p><a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.html" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.html</a></p>
<p>Use sort with the second output argument.  That gives the absolute index, but you can use IND2SUB to get back to row and column.</p>
<p>-Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13199</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 15 Jul 2009 23:22:45 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13199</guid>
		<description>Hello,

I need to sort the pixel intensity values of an image in descending order, but then also be able to keep track of each intensities original coordinate in the image. I assume I will need to create an Nx3 matrix where N is the total number of pixels and the 3 column values are: 1. the pixel intensity, 2. the original col, and 3. the row coordinate.

Could you help me to get started doing this?

Thanks,
Mark</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I need to sort the pixel intensity values of an image in descending order, but then also be able to keep track of each intensities original coordinate in the image. I assume I will need to create an Nx3 matrix where N is the total number of pixels and the 3 column values are: 1. the pixel intensity, 2. the original col, and 3. the row coordinate.</p>
<p>Could you help me to get started doing this?</p>
<p>Thanks,<br />
Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13134</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 22 Apr 2009 12:49:07 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13134</guid>
		<description>Renato,

What you need to do is use the transpose operator (') to transpose the rows to columns.  Then you can use sort rows and transpose right back.

Doug</description>
		<content:encoded><![CDATA[<p>Renato,</p>
<p>What you need to do is use the transpose operator (&#8217;) to transpose the rows to columns.  Then you can use sort rows and transpose right back.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renato</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13133</link>
		<dc:creator>Renato</dc:creator>
		<pubDate>Tue, 21 Apr 2009 19:34:34 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-13133</guid>
		<description>Hi, is there any function that does the same as sortrows but for columns?

Thx for your time!</description>
		<content:encoded><![CDATA[<p>Hi, is there any function that does the same as sortrows but for columns?</p>
<p>Thx for your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-12875</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 23 Sep 2008 13:46:34 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-12875</guid>
		<description>Sanchay,

You need to show all the relevant code to get help.

Doug</description>
		<content:encoded><![CDATA[<p>Sanchay,</p>
<p>You need to show all the relevant code to get help.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanchay Subhedar</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-12873</link>
		<dc:creator>Sanchay Subhedar</dc:creator>
		<pubDate>Tue, 23 Sep 2008 03:51:08 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-12873</guid>
		<description>I am getting this error on using simple sort function on the same magic square as your.

??? Index exceeds matrix dimensions.

How can I "sort" this problem ;-)</description>
		<content:encoded><![CDATA[<p>I am getting this error on using simple sort function on the same magic square as your.</p>
<p>??? Index exceeds matrix dimensions.</p>
<p>How can I &#8220;sort&#8221; this problem ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-12006</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 03 Jul 2008 13:00:22 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-12006</guid>
		<description>Mayank,

Please watch the video again.  You will see Sortrows at the end.  This is the function you are looking for.

Doug</description>
		<content:encoded><![CDATA[<p>Mayank,</p>
<p>Please watch the video again.  You will see Sortrows at the end.  This is the function you are looking for.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mayank</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-11999</link>
		<dc:creator>mayank</dc:creator>
		<pubDate>Thu, 03 Jul 2008 02:51:12 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-11999</guid>
		<description>Hi,I want to sort the coordiantes.How to do this?
Eg- 1  0
    3  2
    21 0
    4  4
    2  3
    5  4
so that the sorted coordinates come out to be:
   1  0
   21 0
   3  2
   2  3
   4  4
   5  4</description>
		<content:encoded><![CDATA[<p>Hi,I want to sort the coordiantes.How to do this?<br />
Eg- 1  0<br />
    3  2<br />
    21 0<br />
    4  4<br />
    2  3<br />
    5  4<br />
so that the sorted coordinates come out to be:<br />
   1  0<br />
   21 0<br />
   3  2<br />
   2  3<br />
   4  4<br />
   5  4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slaesche</title>
		<link>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-3139</link>
		<dc:creator>slaesche</dc:creator>
		<pubDate>Wed, 17 Oct 2007 22:42:31 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/09/11/matlab-basics-video-sorting-matrices/#comment-3139</guid>
		<description>Good tip! Just what I was looking for.  Thanks.</description>
		<content:encoded><![CDATA[<p>Good tip! Just what I was looking for.  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
