<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253604</link>
    <title>MATLAB Central Newsreader - delete column with known col indices</title>
    <description>Feed for thread: delete column with known col indices</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by 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>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 13 Jun 2009 05:58:01 -0400</pubDate>
      <title>delete column with known col indices</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253604#656966</link>
      <author>Diego Lass</author>
      <description>Hi&lt;br&gt;
I want to delete several columns in a matrix and get the resulting matrix without using loops, what is the fastest way to do this. I saw some posts but didn't understand them.&lt;br&gt;
&lt;br&gt;
For example&lt;br&gt;
1 2 3 4 5&lt;br&gt;
6 7 8 9 10&lt;br&gt;
&lt;br&gt;
I want to delete columns [1 3] and get&lt;br&gt;
2 4 5&lt;br&gt;
7 9 10&lt;br&gt;
&lt;br&gt;
what is the fastest way to do this.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Diego </description>
    </item>
    <item>
      <pubDate>Sat, 13 Jun 2009 07:39:01 -0400</pubDate>
      <title>Re: delete column with known col indices</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253604#656980</link>
      <author>James Tursa</author>
      <description>&quot;Diego Lass&quot; &amp;lt;dlISCool@gmail.com&amp;gt; wrote in message &amp;lt;h0vf59$nk3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; I want to delete several columns in a matrix and get the resulting matrix without using loops, what is the fastest way to do this. I saw some posts but didn't understand them.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; For example&lt;br&gt;
&amp;gt; 1 2 3 4 5&lt;br&gt;
&amp;gt; 6 7 8 9 10&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I want to delete columns [1 3] and get&lt;br&gt;
&amp;gt; 2 4 5&lt;br&gt;
&amp;gt; 7 9 10&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; what is the fastest way to do this.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&amp;gt; Diego &lt;br&gt;
&lt;br&gt;
A = [1 2 3 4 5;6 7 8 9 10]&lt;br&gt;
C = [1 3]&lt;br&gt;
A(:,C) = []&lt;br&gt;
&lt;br&gt;
James Tursa</description>
    </item>
  </channel>
</rss>

