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.164.774 Times

2D Histogram Calculation 1.0

  Date Added: August 18, 2013  |  Visits: 309

2D Histogram Calculation

Report Broken Link
Printer Friendly Version


Product Homepage
Download (49 downloads)



function histmat = hist2(x, y, xedges, yedges) Extract 2D histogram data containing the number of events of [x , y] pairs that fall in each bin of the grid defined by xedges and yedges. The edges are vectors with monotonically non-decreasing values.The code is optimized no loop inside, it can be useful in the case of large dataset. EXAMPLE events = 1000000; x1 = sqrt(0.05)*randn(events,1)-0.5; x2 = sqrt(0.05)*randn(events,1)+0.5; y1 = sqrt(0.05)*randn(events,1)+0.5; y2 = sqrt(0.05)*randn(events,1)-0.5; x= [x1;x2]; y = [y1;y2]; For linearly spaced edges: xedges = linspace(-1,1,64); yedges = linspace(-1,1,64); histmat = hist2(x, y, xedges, yedges); figure; pcolor(xedges,yedges,histmat'); colorbar ; axis square tight; For nonlinearly spaced edges: xedges_ = logspace(0,log10(3),64)-2; yedges_ = linspace(-1,1,64); histmat_ = hist2(x, y, xedges_, yedges_); figure; pcolor(xedges_,yedges_,histmat_'); colorbar ; axis square tight;

Requirements: No special requirements
Platforms: Matlab
Keyword: Dataset Figure Linearly Linspace Pcolorxedgesyedgeshistmat Spaced Sqrt Randnevents
Users rating: 0/10

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


2D HISTOGRAM CALCULATION RELATED
Development Tools  -  Estimation and Simulation of ACD models in MatLab 1.0
This submission includes functions and scripts for the estimation and simulation of ACD (autoregressive conditional duration) models. The zip file includes: - Scripts and functions for Estimation of an ACD(q,p) model with exponential or weibull...
30.72 KB  
Modules  -  LINSPACE3: linearly spaced vector defined by three points 1.0
LINSPACE3 linearly spaced vector including a defined middle point.LINSPACE3(X1, X2, X3) generates a row vector of 100 points between X1 and X3 as linearly spaced as possible such that the vector contains X2. LINSPACE3(X1, X2, X3, N) generates a...
10 KB  
Development Tools  -  N-dimensionally spaced points 1.0
NDSPACE N-dimensionally spaced points NDSPACE(X1, X2) generates a column matrix of 10^n linearly equally spaced points in the hypercube defined by the two diametrically opposite cornerpoints X1 and X2 both n-by-1 vectors. If either is a scalar it...
10 KB  
Development Tools  -  Vectorized linspace 1.0
This function will create a matrix of linearly spaced vectors.Example 1: Vector starting and ending pointsx1 = 100*randn(10,1);x2 = 100*randn(10,1);M = linspace2(x1,x2,1e3);imagesc(M)Example 2: Mixing Vectors and Scalarsx1 = 100*randn(10,1);x2 =...
10 KB  
Multimedia  -  Mouse-friendly FIGURE 1.0
MOUSE_FIGURE(handle) creates a figure (or modifies an existing one with handle [handle]) that allows zooming with the scroll wheel and panning with mouse clicks, *without* first selecting the ZOOM or PAN tools from the toolbar. Moreover, zooming...
10 KB  
Multimedia  -  figure inset 1.0
The function plotting figure inside figure (main and inset) from 2 existing figures.
10 KB  
Development Tools  -  Level Control visible in a Figure 1.0
A simple level control model with an output that is continuously visible in a Figure
10 KB  
Development Tools  -  Resize dataset 1.0
Modify the size of dataset without changing values. It acts as oversampling and downsampling functionalitiesfor exampledata1 = Modifysize(data,1000);the above statement will cause data1 has the same values as data but distributed over 1000 samples...
10 KB  
Development Tools  -  DFIG: Create a docked figure window 1.0
DFIG works exactly as FIGURE, except that the figure is docked.DFIG, by itself, creates a new docked figure window, and returns its handle. DFIG(H) makes H the current figure and docks it. If Figure H does not exist, and H is an integer, a new...
10 KB  
Development Tools  -  histograms for ND data 1.0
histnd Histogram count of ND data with ND bins histmat = histnd(x, y, ..., xedges, yedges, ...) Extract ND histogram data containing the number of events of [x, y, ...] tuples that fall in each bin of the ND-grid defined by xedges, yedges, .......
10 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