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

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

Serving Software Downloads in 976 Categories, Downloaded 29.546.349 Times

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

  Date Added: June 05, 2013  |  Visits: 179

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

Report Broken Link
Printer Friendly Version


Product Homepage
Download (20 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
Productivity  -  Croby 1.1.1.0
Croby came free on Windows Phone Store! Save your passwords encrypted on your phone and get access quickly thanks to the NFC opening. Main functions: - Adding password - Edit, delete, and copy - Password Access - Write in an...
1024 KB  
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  
Audio Tools  -  midcat 2004-06-16
midcat concatenates MIDI files to standard output. It also supports some MIDI file transformations and humanizing functions.
10.24 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  
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  -  RMCA Realtime MIDI Chord Arranger Pro 4.2.7.11
RMCA Pro is an auto-accompaniment software which offers all major features of a high quality MIDI keyboard. It comes with chord recognition, based auto arranger, style creator, LeadSheet editor, recording section, up to 16 fingered and 10...
1.52 MB  
Multimedia  -  Spectrum Analyzer pro 2015
This sophisticated piece of software turns your computer into a modern, State-of-The-Art spectrum analyzer giving you features that go far beyond the possibilities of any stand-alone hardware unit -VST Plugin support-Leq (m) movie calculator Leq...
22.61 MB  
Multimedia  -  Multi Level Meter Bridge 2015
PAS Multi Meter Bridge can be configured in a number of different ways, to accurately model the ballistics, responses and graphics of a wide range of standard peak programme meters. These meters currently include the following:IEC 268-10 Type I...
5.22 MB  
Multimedia  -  DTMF Tone Decoder 2015
Why use an audio spectrum analyzer? For those of you that have done video installations, would you install a camera and lens without a monitor to see what you are doing? Why would you do an audio installation without seeing what you are doing? The...
4.09 MB  
Multimedia  -  Frequency Generator 2014
NEW in this version Oscilloscope srcoller and accelerator Efects like Peak and Splitt Oscilloscope kinds like Con. Lines, Dots, Mir Lines, Spikes, Vert. Lines Analyse the real time input in the Oscilloscope Now you can record the generated Tones...
2.01 MB