help-octave
[Top][All Lists]
Advanced

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

setdiff: Octave <-> Matlab


From: John W. Eaton
Subject: setdiff: Octave <-> Matlab
Date: Tue, 14 Jun 2005 14:14:10 -0400

On 14-Jun-2005, address@hidden wrote:

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

Why should that be necessary?  If you want to implement something for
Octave, then you must not refer to Matlab M-files.  You know what the
function is supposed to do, so the task is to make an independent
implementation.

jwe




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