FYI  it appears that the octave "downsample" function performs reasonably 
but differently from MATLAB in the third argument, the phase of the 
downsample:

MATLAB:   downsample(1:10, 2, 0) ==> [1 3 5 7 9]

OCTAVE:  downsample(1:10,  2,0) ==>  { barfs }

OCTAVE:  downsample(1:10, 2, 1) ==> [1 3 5 7 9]


In MATLAB, the meaning of the third argument is a phase offset, not a 
starting index. 

Jon
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to