what can be used instead of histcounts

7 views (last 30 days)
divya balu
divya balu on 30 May 2018
Answered: Walter Roberson on 31 May 2018
i need a vector of the values from histogram data. instead histcounts what code or function can be used.
  3 Comments

Sign in to comment.

Answers (3)

Walter Roberson
Walter Roberson on 31 May 2018
In older versions such as R2014a, the closest equivalent routine is histc()


Image Analyst
Image Analyst on 30 May 2018
You can use imhist(), or histogram(), or histc() or hist(). Or you can do it yourself with a for loop.

Community Treasure Hunt

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

Start Hunting!

Translated by