<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154008</link>
    <title>MATLAB Central Newsreader - matrices elements</title>
    <description>Feed for thread: matrices elements</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 06 Aug 2007 15:04:12 -0400</pubDate>
      <title>Re: matrices elements</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154008#386444</link>
      <author>us</author>
      <description>Luana Caselli:&lt;br&gt;
&amp;lt;SNIP logical indexing evergreen...&lt;br&gt;
&lt;br&gt;
one of the many solutions&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m1=magic(4)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m2=+(rand(size(m1))&amp;gt;.75) % a few ones, type double&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m1(m2==1)&lt;br&gt;
&lt;br&gt;
us&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 14:53:06 -0400</pubDate>
      <title>matrices elements</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154008#386442</link>
      <author>Luana Caselli</author>
      <description>Hi all!&lt;br&gt;
&lt;br&gt;
I have 2 matrices of the same size. I want to select &lt;br&gt;
particular elements (for example, all values ==1) from one &lt;br&gt;
of the two and then extract values from the second matrix &lt;br&gt;
which have the same position (row, column) of the selected &lt;br&gt;
values in the first matrix.&lt;br&gt;
&lt;br&gt;
If someone can help me...&lt;br&gt;
&lt;br&gt;
Thanks a lot!&lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
