Hi Carnë, Søren,

On 12/21/2011 09:31 PM, Carnë Draug wrote:
> see the forwarded message from the octave-help mailing list. Søren has
> the following function that he modified to be matlab compatible. Do
> you think it could abe added to the statistics package?

Thanks for forwarding the kmeans function. On Octave 3.4.3 the demo
works fine. But when I try the demo on Octave 3.2.4 (which is the latest
in Debian unstable) then I get the following:

kmeans example 1: failed
parse error near line 52 of file kmeans.m

  syntax error

>>>     [~, classes] = min (D, [], 2);

Should kmeans be backward compatible with 3.2.4?

Arno

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to