help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help


From: Henry F. Mollet
Subject: Re: help
Date: Wed, 21 Sep 2005 16:49:47 -0700
User-agent: Microsoft-Entourage/11.1.0.040913

This is curious as I thought this was in my ancient Octave manual. I fired
up 2.1.46 on old iMac and below worked just fine.
Henry


on 9/21/05 3:59 PM, Mike Miller at address@hidden wrote:

> On Wed, 21 Sep 2005, Henry F. Mollet wrote:
> 
>> Method is probably not new and deletes rows of a matrix according to
>> given condition (values larger than 3 in col 3 in the following example,
>> second example uses row 3 for which no elements are < 3).
> 
> Example:
> 
> X=rand(3);
> X(2,:)=[];
> 
> Deletes row 2 from X.
> 
> This version won't do it:
> 
> GNU Octave, version 2.1.50 (i686-pc-linux-gnu)
> 
> (It says the assignment can't be done because the matrices are not of the
> same size.)  But 2.1.71 under Cygwin does it correctly.
> 
> I like this new (for me) trick and I thank you for teaching me about it!
> 
> Mike




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]