[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36597] prctile crash when P ommitted
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #36597] prctile crash when P ommitted |
Date: |
Tue, 05 Jun 2012 22:32:20 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 |
URL:
<http://savannah.gnu.org/bugs/?36597>
Summary: prctile crash when P ommitted
Project: GNU Octave
Submitted by: None
Submitted on: Tue 05 Jun 2012 10:32:19 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.1
Operating System: Microsoft Windows
_______________________________________________________
Details:
According to the help page for prctile(X, P):
Function File: Q = prctile (X)
Function File: Q = prctile (X, P)
If P is unspecified, return the quantiles for `[0 25 50 75 100]'.
But that doesn't seem to be the case:
octave:47> prctile([1:10]')
error: `dim' undefined near line 71 column 21
error: evaluating argument list element number 1
error: called from:
error:
C:\Octave\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\statistics\base\prctile.m
at line 71, column 5
prctile([1:10]', []) does seem to work, as it returns the stated percentiles.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36597>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36597] prctile crash when P ommitted,
anonymous <=