[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 10:54:51 -0500 |
> ----- 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. also
octave:3> size(A)
ans =
2 3
in Octave the inherent stride of this 2-dim array is 2, the first element of
the size() vector, in MATLAB it is 3, the second element.
that's all i meant.
--
r b-j address@hidden
"Imagination is more important than knowledge."
- Re: octave "Most Wanted" feature, (continued)
- Re: octave "Most Wanted" feature, robert bristow-johnson, 2006/11/28
- Re: octave "Most Wanted" feature, robert bristow-johnson, 2006/11/29
- Re: octave "Most Wanted" feature, robert bristow-johnson, 2006/11/29
- Re: octave "Most Wanted" feature,
robert bristow-johnson <=
- Re: octave "Most Wanted" feature, robert bristow-johnson, 2006/11/29
- Re: octave "Most Wanted" feature, robert bristow-johnson, 2006/11/29
- Re: octave "Most Wanted" feature, robert bristow-johnson, 2006/11/30