<?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 Basics video: Absolute and Logical indexing</title>
	<atom:link href="http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/</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: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-13461</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 08 Mar 2010 16:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-13461</guid>
		<description>@ronny

&lt;pre class =&quot;code&quot;&gt;
&gt;&gt; a = [2 0 3; 0 4 0]

a =

     2     0     3
     0     4     0

&gt;&gt; b = (a&gt;1)

b =

     1     0     1
     0     1     0

&gt;&gt; c = find(a&gt;1)

c =

     1
     4
     5
&lt;/pre&gt;

Try this.  If you must use find, you could always make a zeros matrix of the same size and set the indices that you find to 1.</description>
		<content:encoded><![CDATA[<p>@ronny</p>
<pre class ="code">
>> a = [2 0 3; 0 4 0]

a =

     2     0     3
     0     4     0

>> b = (a>1)

b =

     1     0     1
     0     1     0

>> c = find(a>1)

c =

     1
     4
     5
</pre>
<p>Try this.  If you must use find, you could always make a zeros matrix of the same size and set the indices that you find to 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronny</title>
		<link>http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-13452</link>
		<dc:creator>Ronny</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-13452</guid>
		<description>Hi Doug,
I saw your video and I have a question, when I use &quot;find&quot; with a matrix with X,Y,Z or logical for extract valor from ranges, the new matrix is always a column vector and I need this matrix in similar format (x,y,z), how can I do?
Please let me know,
Thanks,
RM</description>
		<content:encoded><![CDATA[<p>Hi Doug,<br />
I saw your video and I have a question, when I use &#8220;find&#8221; with a matrix with X,Y,Z or logical for extract valor from ranges, the new matrix is always a column vector and I need this matrix in similar format (x,y,z), how can I do?<br />
Please let me know,<br />
Thanks,<br />
RM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-9804</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 03 Mar 2008 19:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-9804</guid>
		<description>It will be required to pull out the intermediate values to use that logical matrix or you will need to do some other indexing method.

Doug</description>
		<content:encoded><![CDATA[<p>It will be required to pull out the intermediate values to use that logical matrix or you will need to do some other indexing method.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Olly</title>
		<link>http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-9768</link>
		<dc:creator>Dennis Olly</dc:creator>
		<pubDate>Sun, 02 Mar 2008 00:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-9768</guid>
		<description>Hi Doug, very clear video, however, is it possible to do logical indexing directly to a submatrix, eg:

data=zeros(10,10,10);

here data(:,:,5) could be slice.
now let 

mask=zeros(10,10);mask(5:5,8:8)=1;

Is it possible to use this mask to logically index the submatrix data(:,:,5)? 

slice = data(:,:,5); 
and then accessing slice(mask) is possible. But can this not be done directly, without extracting &#039;slice&#039;?

Thanks
Dennis</description>
		<content:encoded><![CDATA[<p>Hi Doug, very clear video, however, is it possible to do logical indexing directly to a submatrix, eg:</p>
<p>data=zeros(10,10,10);</p>
<p>here data(:,:,5) could be slice.<br />
now let </p>
<p>mask=zeros(10,10);mask(5:5,8:8)=1;</p>
<p>Is it possible to use this mask to logically index the submatrix data(:,:,5)? </p>
<p>slice = data(:,:,5);<br />
and then accessing slice(mask) is possible. But can this not be done directly, without extracting &#8216;slice&#8217;?</p>
<p>Thanks<br />
Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naor</title>
		<link>http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-1652</link>
		<dc:creator>naor</dc:creator>
		<pubDate>Thu, 06 Sep 2007 22:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/09/06/matlab-basics-video-absolute-and-logical-indexing/#comment-1652</guid>
		<description>Doug, in the RSS feed of your blog, read in internet explorer 7, the videos never show. I don&#039;t mean they don&#039;t run, there are just lines of text with a single blank line where the videos should be. Is there a way to fix this?
Thanks,
naor (win32xp r2006a)</description>
		<content:encoded><![CDATA[<p>Doug, in the RSS feed of your blog, read in internet explorer 7, the videos never show. I don&#8217;t mean they don&#8217;t run, there are just lines of text with a single blank line where the videos should be. Is there a way to fix this?<br />
Thanks,<br />
naor (win32xp r2006a)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

