octave-maintainers
[Top][All Lists]
Advanced

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

Re: octave "Most Wanted" feature


From: John W. Eaton
Subject: Re: octave "Most Wanted" feature
Date: Wed, 29 Nov 2006 11:05:24 -0500

On 29-Nov-2006, robert bristow-johnson wrote:

| 
| > ----- Original Message -----
| > From: "John W. Eaton" <address@hidden>
| > To: "robert bristow-johnson" <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:
| > 
| > | i dunno why you're adding stride to this.  Arrays already have an implicit
| > | stride which is the length of coulmns for Octave and the length of rows 
for
| > | MATLAB (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.

jwe


reply via email to

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