octave-maintainers
[Top][All Lists]
Advanced

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

Re: octave "Most Wanted" feature


From: robert bristow-johnson
Subject: Re: octave "Most Wanted" feature
Date: Wed, 29 Nov 2006 11:34:24 -0500

> From: "John W. Eaton" <address@hidden>
> Subject: Re: octave "Most Wanted" feature
> Date: Wed, 29 Nov 2006 11:05:24 -0500
> 
> 
> On 29-Nov-2006, robert bristow-johnson wrote:
> 
> | > From: "John W. Eaton" <address@hidden>
> | > Subject: Re: octave "Most Wanted" feature
> | > Date: Wed, 29 Nov 2006 10:01:22 -0500
> | >
> | >
> | > On 29-Nov-2006, robert bristow-johnson wrote:
> | >
> | > | (since Octave and MATLAB sorta switch the roles of columns and rows).
> | >
> | > What do you mean by "sorta switch the roles of columns and rows"?
> |
> | i mean in Octave:
> |
> | octave:1> A = [1 2 3;4 5 6]
> | A =
> |
> |    1   2   3
> |    4   5   6
> |
> | octave:2> A(4)
> | ans =  5
> |
> | but in MATLAB, A(4) would be 4.
> 
> No, it would also be 5 in Matlab.

???

i don't have MATLAB here on this linux machine that i'm using at work (when i 
get home tonight, i can check this) but i thought (simply by recollection) that 
MATLAB unloaded contents by rows, not columns (maybe i've confused this with 
C?).  to be wrong about this really will be a difficult neuron to rewire, but i 
certainly admit i could be.

but i don't think this changes any of the points about this Index Origin 
extension.

--

r b-j                  address@hidden

"Imagination is more important than knowledge."




reply via email to

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