[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8801] add support for the histogram and h
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #8801] add support for the histogram and histcounts functions |
Date: |
Fri, 20 Nov 2015 17:47:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
URL:
<http://savannah.gnu.org/patch/?8801>
Summary: add support for the histogram and histcounts
functions
Project: GNU Octave
Submitted by: None
Submitted on: Fr 20 Nov 2015 17:47:40 UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
more sophisticated version of histc and hist.
not yet implemented: category cell arrays as input.
Those are the two new histogram function in Matlab >= 2014 (or so). I used
ideas from both the old hist and histc functions.
However, if the bins are uniform spaced (which is often the case, also if
automatically determined), then the bin indexes are now calculated in O(N)
instead of O(N*M), where N is the number of data points and M the number of
bins. If not uniform spaced, I use the lookup function, which finds the
indexes in O(N*log(M)), because the bin edges are sorted.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fr 20 Nov 2015 17:47:40 UTC Name: histogram+histcounts.hg-export.diff
Size: 16kB By: None
<http://savannah.gnu.org/patch/download.php?file_id=35507>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8801>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-patch-tracker] [patch #8801] add support for the histogram and histcounts functions,
anonymous <=