필터 지우기
필터 지우기

frequency of occurrence histogram of paired values

조회 수: 1 (최근 30일)
Mubashir
Mubashir 2017년 3월 4일
댓글: Mubashir 2017년 3월 5일
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.

채택된 답변

Image Analyst
Image Analyst 2017년 3월 4일
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);
  댓글 수: 5
Image Analyst
Image Analyst 2017년 3월 5일
It was introduced in R2015b. Can you upgrade? You're now 2 years behind.
Otherwise look at hist3() or similar functions.
Mubashir
Mubashir 2017년 3월 5일
Thank you all..

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

추가 답변 (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