help-octave
[Top][All Lists]
Advanced

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

setdiff: Octave <-> Matlab


From: lciotti
Subject: setdiff: Octave <-> Matlab
Date: Tue, 14 Jun 2005 14:10:04 -0400

I am tying to use the setdiff command in octave.  I am trying to get a 
script that works in Matlab to work in octave.  In matlab the syntax 
is:

c = setdiff(A, B, 'rows'), when A and B are matrices with the same 
number of columns, returns the rows from A that are not in B.

in octave the syntax is similar, but it does not take the rows 
option.  Not knowing exactly how Matlab works(I do not have a working 
copy) I do not know how to get they same output in octave.  Can 
someone help who has a copy of Matlab??

Thanks!!

Lou



-------------------------------------------------------------
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]