octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43959] statistics package: kmeans incompatibi


From: Markus Bergholz
Subject: [Octave-bug-tracker] [bug #43959] statistics package: kmeans incompatibility with Matlab
Date: Mon, 21 Mar 2016 09:31:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

Follow-up Comment #18, bug #43959 (project octave):

The only way I currently can think of is to check this after p.parse () like
that



if isnumeric (p.Results.Start)
  if ~(all (size (p.Results.Start) == size (p.Results.Replicates)))
    error("Size of Start and Replicates must be equal")
  endif
endif



while using


char_numeric     = @(x) (@ischar(x) || @isnumeric(x))


to verify "Start".

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43959>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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