|
From: | Arnaud Delorme |
Subject: | [Octave-bug-tracker] [bug #54421] Quantile function difference with Matlab |
Date: | Wed, 1 Aug 2018 13:46:46 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?54421> Summary: Quantile function difference with Matlab Project: GNU Octave Submitted by: arnodelorme Submitted on: Wed 01 Aug 2018 05:46:45 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.4.0 Operating System: Mac OS _______________________________________________________ Details: data = [1; 2; 5; 10]; pc = [0 0.125 0.25 0.5 0.75 0.875 1]; q = quantile(data,pc) q = 1.0000 1.0000 1.5000 3.5000 7.5000 10.0000 10.0000 Under Matlab 2018a and q = 1.0e+01* 0.10000 0.10000 0.15000 0.35000 0.75000 1.00000 1.00000 under Octave 4.4.0 (the output is transposed). This cause my unit test to fail. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54421> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |