fre, 14 11 2008 kl. 12:02 +0100, skrev Francesco Potortì: > I just committed some minor changes: > > DISTFUN now called METRIC, for clarity and compatibility.
This "compatibility" is just in terms of the wording in the help text, right? If so, then I don't think we should attempt compatibility at that level, as that encourages copying help text from Matlab. That being said, I have no objections to the change in wording. > Typos corrected in the help string. You have the following in your help text ## @deftypefnx {Function File} @var{y} = pdist (@var{x}, ## @var{metric}, @var{metricarg}, @dots{}) Could you change that to ## @deftypefnx {Function File} @var{y} = pdist (@var{x}, @ ## @var{metric}, @var{metricarg}, @dots{}) That is, add a @ at the end of the first line. This tells texinfo that the second line is a continuation of the first. > Would please someone with Matlab give me the results of these? > > X = [3 1.7; 1 1; 2 3; 2 2.5; 1.2 1; 1.1 1.5; 3 1]; > linkage(pdist(X)) > linkage(pdist(X),'complete') >> X = [3 1.7; 1 1; 2 3; 2 2.5; 1.2 1; 1.1 1.5; 3 1]; >> linkage(pdist(X)) ans = 2.0000 5.0000 0.2000 3.0000 4.0000 0.5000 6.0000 8.0000 0.5099 1.0000 7.0000 0.7000 9.0000 11.0000 1.2806 10.0000 12.0000 1.3454 >> linkage(pdist(X),'complete') ans = 2.0000 5.0000 0.2000 3.0000 4.0000 0.5000 6.0000 8.0000 0.5099 1.0000 7.0000 0.7000 10.0000 11.0000 2.1190 9.0000 12.0000 2.2361 Søren ------------------------------------------------------------------------- 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