![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173008/image.png)
frequency of occurrence histogram of paired values
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mubashir
el 4 de Mzo. de 2017
Comentada: Mubashir
el 5 de Mzo. de 2017
I want to find frequency of occurrence histogram of paired values in 3d. I have two variables and values taken with same time. A=[1.1;2.3;2.5;1.1;1.6;1.1;2.3] and B=[3.3;2.1;1.2;3.3;2.1;3.3;2.1]. these values taken at 7 different time intervals.
0 comentarios
Respuesta aceptada
Image Analyst
el 4 de Mzo. de 2017
Try histogram2():
A=[1.1;2.3;2.5;1.1;1.6;1.1;2.3]
B=[3.3;2.1;1.2;3.3;2.1;3.3;2.1]
numBins = 5;
histogram2(A, B, numBins)
xlabel('A', 'FontSize', 20);
ylabel('B', 'FontSize', 20);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173008/image.png)
5 comentarios
Image Analyst
el 5 de Mzo. de 2017
It was introduced in R2015b. Can you upgrade? You're now 2 years behind.
Otherwise look at hist3() or similar functions.
Más respuestas (0)
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!