Dear All,

The statistical function perctile() uses the following syntax

p = perctl(x,y)

where p is a two-column matrix. The first column yields the percentile values, 
the second contains the indices to the upper limits of the percentile bins. 
Now, this doesn't seem too useful to me. I may be completely wrong and there 
may be a bunch of useful cases (please, illustrate me if so). The problem is 
that in many, if not most, cases only the percentile values are needed, so why 
not use another syntax that, without removing the second column feature, splits 
the output into two output arguments, such as

[p, i] = perctl (x, y)

Those for whom the feature is useful, could just use the two-output-argument 
syntax, the rest could use

p = perctl(x, y)

without needing to invoke p(1,:) to use just the percentiles. This is the most 
frequent way to allow for optional output arguments.

Regards,

Federico Miyara

[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
      Libre de 
virus.www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users

Reply via email to