2D weighted histogram
Versión 1.0.0.0 (3,86 KB) por
Johannes
Calculates 2D weighted histogram and plots in color
This function calculates a 2D, weighted histogram from:
(1) an Nx2 matrix of 2D data points
(2) an Nx1 vector of weights
(3) M_1x1 and M_2x1 grid vectors
There is an option to plot the histogram in color using the "bar3c" function (included). The coloring is specified by either:
(1) an RGB tensor of size M_1xM_2x3 or
(2) a Kx3 colormap matrix
This is useful for visualizing a weighted dataset in probabilistic algorithms like EM and the particle filter.
Citar como
Johannes (2026). 2D weighted histogram (https://la.mathworks.com/matlabcentral/fileexchange/46012-2d-weighted-histogram), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2012a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Histograms en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
