
hist2 for the people 1.0 File ID: 86685 


 hist2 for the people 1.0 License: Shareware File Size: 10.0 KB Downloads: 4
Submit Rating: 



hist2 for the people 1.0 Description 

Description: 2D histogram: Extract the number of joint events  (x,y) data value pairs that fall in each bin of the grid defined by xedges and yedges.
Uses:
[N,BIN] = HISTD(X,EDGES)
which returns
1) N is a LENGTH(EDGES) vector, N(k) will count the value X(i) if EDGES(k) <= X(i) < EDGES(k+1). The last bin will count any values of X that match EDGES(end).
2) an index matrix BIN. If X is a vector, N(K) = SUM(BIN==K). BIN is zero for out of range values. If X is an mbyn matrix, then, for j=1:n, N(K,j) = SUM(BIN(:,j)==K); end
Please, see the notes to HISTD too.
N.B. It is always a better idea to use the HISTC MEX (a much faster compiled C code) if you have it, then just replace the HISTD with HISTC in all calls contained in the hist2() .m function
Small print Note: There is a similar f/n  hist3  in the R14 stats, but on top of everything else that makes it inaccessible, it looks looong
License: Shareware Related: Compiled, faster, Replace, calls, contained, histc, Notes, histd O/S:BSD, Linux, Solaris, Mac OS X File Size: 10.0 KB Downloads: 4


More Similar Code 

OLIN should and hopefully will be the first Internet news system of the people, by the people, for the people. The big idea is to allow all six billion human beings on Earth to talk about the beauty, tragedy, and in/justices of the Human Experience.
This lesson is for the people, who know basic algebra, geometry and intermediate in Flash. / We shall create the movie in which a buttonmovie and its destination point will appear in random places of the scene. If you click on the button, it will...
An XML Eye for the Database Guy is an article in which author elaborates the procedure for utilizing XML in the SQL server to work in .NET frame work. The author gives three methods of using the attributs and functionalities to work with XML...
ASP Programming for the Absolute Beginner is designed to help readers with no programming experience learn not only the basics of ASP, but also the fundamental programming concepts they need to grasp in order to learn their next programming...
Write Your Own Provider For the ASP.NET DataGrid is an interesting article which discusess about how to create custom data provider to populate datagrid control. In this article the author describes the Enumerable interface of the ADO.NET and its...
We're creating a wiki for the JBoss Labs infrastructure. Rather than keeping this to ourselves, we're separating out our wiki efforts into a self contained Wiki portlet based on JSPWiki. We'll be adding and removing a bunch of functionality in...
Computes the Hinfinity optimal causal filter (indirect Bspline filter) for the cubic spline.
[INPUT] d: delay
[OUTPUT] psi: the optimal filter psi(z) in a TF object gopt: optimal value
This file is...
MultiKnapsack solver by two stochastic solvers : i) by CrossEntropy Method and ii) by BotevKroese Method for the following problem
max S(X)=(p^{t}X) st. WX <= c
Please run the demo files :
The programs compute the bifurcation diagram for the cubic map and a realistic population dynamics model. The value of parameter r, when the cycle of period three appears, is indicated. As expected, for higher values of r, we observe chaotic...
The program computes the residue curve map for the ternary mixture benzenetoluenepxylene. When you change the mouse's position, a new residue curve is computed and displayed. Residue curve maps play an important role in the conceptual design of... 
User Review for hist2 for the people 
