histcounts() function but for polarhistogram()

5 次查看(过去 30 天)
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 中查找有关 Polar Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by