Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.359.507 Times

2D histogram - 'exact' and 'fast' binning, 'crop' and 'stretch' grid adjustment 1.0

  Date Added: June 05, 2013  |  Visits: 387

2D histogram - 'exact' and 'fast' binning, 'crop' and 'stretch' grid adjustment

Report Broken Link
Printer Friendly Version


Product Homepage
Download (47 downloads)



Calculate the 2D histogram of data pairs [x,y] on a 2D grid defined by its edges. Allows 'fast' and 'exact' binning modes. Adjustable input grid mode. Output of mesh centers for easy plot.EXAMPLE:binEdges_minmaxN_xy = [10 100 91; 0 10 21];[h2d, binC_x, binC_y] = hist2(data2d, binEdges_minmaxN_xy, 'fast');imagesc(binC_x, binC_y, h2d); % a 90x20 gridIn "exact" mode it will equally split each point that falls on the bin edge between the two (or four) adjacent bins. This manner of binning has to be used when box-counting to establish a fractal dimension. It also alleviates problems with floating point numbers or when dealing with heavily aliased or undersampled data."on the bin-edge" actually means in an infinitesimally-small vicinity, the default used is 1e-15[h2d, binC_x, binC_y] = hist2(data, binEdges_minmaxN_xy, 'exact', 1e-9, 'stretch');In this mode the passed edge meshes are "stretched" so that all data is binned. The step and the locations of the passed edges are preserved.)In the image one can see the disposition of the original points as well as the output of the two approaches; the 'exact' one (upper-right corner) is not only intuitively correct, it will also make a difference when calculating entropies and fractal dimensions.On the lower row are plotted the outputs of the two functions already posted on the exchange, one is fast but it has a bug (sometimes it nicks the output so that size(data,2) > sum(h2d(:)), the other one is really slow; none of them provides for this "point-on-the-edge" feature, so I had to write this present function.In the bottom right corner is the 'fast' output of this function, that is when eps = 0; it should work fine for data coming from simulations, noisy measurements, etc.; for box-counting one has to use the 'exact' option.Speed :on my crappy machine it binned 234376 points on a 125 x 125 grid in 0.3 and 14.3 seconds in 'fast' and 'exact' mode respectively; the other functions (the bugged and the slow) did 4.2 sec and 54 sec respectively.It is also faster than hist3.m, f.i. for 2.8M points is about 20% faster.For examples and plot commands see inside; any bugs, ideas of improvement, etc., please write me at tudima at jahoo dot com, j -> y

Requirements: No special requirements
Platforms: Matlab
Keyword: Approaches Corner Exchange Feature Functions Nicks Output Outputs Plotted Quotpointontheedgequot Sizedata Sumh Upperright Write
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


2D HISTOGRAM - 'EXACT' AND 'FAST' BINNING, 'CROP' AND 'STRETCH' GRID ADJUSTMENT RELATED
Audio Tools  -  mserv 0.41
Mserv is a jukebox-style music server designed to play mp3, ogg, etc. files based on ratings of users who are logged in. Mserv plays the music via your existing programs like mpg123 and ogg123 to either your sound card (Stable release) or streamed...
675.84 KB  
Audio Tools  -  vsound 0.6
Vsound is a Linux/Unix application which allows you to digitally record the output of another program such as RealPlayer. The recorded output can be saved in a WAV file or can be sent into another program such as an MP3 encoder. The vsound...
112.64 KB  
Networking  -  Featured Member Widget 1.2
The Featured Members Widget is a simple BuddyPress plugin widget that allows you to indicate which BuddyPress members you want to feature (via their unique username). You can feature a single member or multiple members.It uses core BuddyPress CSS...
10 KB  
Programming  -  accessible_output 0.4.5
accessible_output is a Python library that provides a standard way for developers to output text in either speech or braille using a preinstalled screen reader. Using accessible_output makes creating self-voicing applications extremely easy.
163.84 KB  
Libraries  -  Text Pilot Library 1.01
Library provides 3 following functions: * text output drawing based on a line * text output drawing based on a circle * text output drawing based on a curve There are several general parameters for each function: * font...
1.04 MB  
Video Editors  -  h264bitstream 0.1.6
h264bitstream project provides a complete set of functions to read and write video streams conforming to the ITU H264 (MPEG4-AVC) video standard. The main design goal is to provide a complete, fully standards-compliant library for reading and...
35.84 KB  
Libraries  -  LCDML 1.2
LCDML project (or Liquid Crystal Display Markup Language) is a description language based on XML and used to describe the text that should be displayed on a LCD. It supports both static and dynamic text messages and bar charts and allows to...
6.14 KB  
Libraries  -  Statistics::MaxEntropy 0.9
MaxEntropy is a Perl5 module for Maximum Entropy Modeling and Feature Induction. SYNOPSIS use Statistics::MaxEntropy; # debugging messages; default 0 $Statistics::MaxEntropy::debug = 0; # maximum number of iterations for IIS; default 100...
41.98 KB  
Development Tools  -  Unsorted Set Operations 1.0
There have been lots of cases where I'll want to look, in a specific order, at subjects in a larger set. Setdiff Intersect and Union are the exact operations I want, but unsorted. I coded up Unique just for good measure.These are relatively rough...
10 KB  
Development Tools  -  Doctest - embed testable examples in your function's help comments 1.0
Unit testing is great, but it can seem like overkill to make a whole new file for every test you want to run. Doctest allows you to embed tests in the documentation of your function (or class or method), so that they're in the same file as the...
20.48 KB  
NEW DOWNLOADS IN SCRIPTS, MULTIMEDIA
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  isimSoftware CountDown Timer 1.0.2
isimSoftware CountDown Timer isimSoftware countdown timer for Windows, written for show operators by a show operator. Simple intuitive user interface with plenty of options hidden underneath. Displays time remaining, current time and a message...
421 KB  
Multimedia  -  Audio Reader XL 2020 20.0.1
Text to Speech Software Audio Reader XL reads aloud text easily. It’s text to speech software for reading eBooks, texts, web pages, and creating MP3s. The voice aloud reader read-aloud any kind of texts like - Any kind of texts - TXT text -...
73.26 MB  
Multimedia  -  Multi Level Meter Bridge 2020
With the new function Peak Detector you can control very accurate the Input of different Levels in a control rooms. Correlation Meter, In a logfile you are able to comprehend when and what kind of Level is under a threshold. PAS Multi Meter Bridge...
5.29 MB  
Multimedia  -  Spectrum Analyzer pro Live 2020
Spectrum Analyzer Pro Live turn your PC into a cutting-edge sound analysis tool! Dante WDM If you are a professional musician, acoustics expert or just a hi-fi enthusiast who wants to make sure that his audio system is perfectly tuned and plays...
12.86 MB  
Multimedia  -  Graphic Equalizer Studio 2020
you can run any windows sound application or DVD Player software above the Equalizer. The Equalizer will correct the audio stream automatic and will include the Limiter and the compressor to be sure, that the audio signal is not to loud or not to...
25.72 MB