필터 지우기
필터 지우기

2D distribution/histogram's center of mass

조회 수: 4 (최근 30일)
z8080
z8080 2016년 7월 5일
댓글: z8080 2016년 7월 5일
I have a bunch of 2D histograms showing the relative dependency of two variables X and Y, under several conditions. Each histogram is 7x7, is produced with imagesc(), and looks something like this:
I would like to compute a single (scalar) measure of central tendency for each of these distributions. Something like a center of mass, although I havent found anything like this in the Matlab documentation, and I don't know anything about the field of image analysis.
Also, ideally, I could show this graphically as well by perhaps highlighting the cell of each distribution that contains this center of mass, or better still, a region within a certain radius of the center of mass that contains 68.2% (one standard deviation) of the volume of the distribution.
Any help much appreciated.
  댓글 수: 4
José-Luis
José-Luis 2016년 7월 5일
You could fit it to a multivariate normal distribution, see mvregress(), see how well it fits, and the statistics of the distribution could give some insight into the problem.
z8080
z8080 2016년 7월 5일
I'll try that, thank you very much for your help

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by