help-octave
[Top][All Lists]
Advanced

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

Indexing


From: Andy Pugh
Subject: Indexing
Date: Thu, 23 Feb 2006 18:15:57 +0000

Hmm, an interesting difference between Octave and Matlab has come to
my attention.

I recently wrote an Octave routine to slice up STL files. Given a set
of line end coordinates X1 Y1 X2 Y2, if the start was at [1 2] then
the end was at [3 4] and vice versa.

So, I could write (in Octave)

end = [3 4 1 2](start)

Which was neat and satisfying.

I just tried doing the same thing in Matlab at work, and it doesn't work.
I guess this has to count as an extra feature of the Octave Parser?

--
atp



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