histcounts() function but for polarhistogram()

조회 수: 2 (최근 30일)
Adib Yusof
Adib Yusof 2019년 1월 23일
답변: Jerome Beetz 2022년 3월 1일
Hi.
I'm using polarhistogram() to plot points distribution on polar coordinate. How do I calculate the distribution without plotting? If histogram() has its histcounts() to do just that, what about polarhistogram() ? There's such function called polarhistcounts() right?

채택된 답변

Walter Roberson
Walter Roberson 2019년 1월 23일
polarhistogram() configures a polar axes and then invokes histogram().
histogram() sets up properties and calls @Histogram/Histogram.p which we cannot see the source of.
How Histogram.p works is a mystery.
There does not appear to be any polarhistogram()

추가 답변 (1개)

Jerome Beetz
Jerome Beetz 2022년 3월 1일
histcounts() should do the job without plotting.
note, values must be inserted as "rad" not "degrees"

카테고리

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