histcounts() function but for polarhistogram()
2 views (last 30 days)
Show older comments
Adib Yusof
on 23 Jan 2019
Answered: Jerome Beetz
on 1 Mar 2022
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?
0 Comments
Accepted Answer
Walter Roberson
on 23 Jan 2019
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()
0 Comments
More Answers (1)
Jerome Beetz
on 1 Mar 2022
histcounts() should do the job without plotting.
note, values must be inserted as "rad" not "degrees"
0 Comments
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!