How to group companies by SIC codes

4 views (last 30 days)
Maximilian Lingel
Maximilian Lingel on 13 May 2021
Answered: Star Strider on 13 May 2021
I have a list containing company names and 2-digit Sic codes. Now I would like to know the number of firms with the respective 2 digit Sic codes. As the 2 digit Sic codes are within different ranges I would like the format of the ouptut be as follows:
2-Digit Sic Code Major Group Number of firms
01-09 Agriculture 5
... ... ...

Answers (1)

Star Strider
Star Strider on 13 May 2021
The discretize function could be appropriate for this.

Community Treasure Hunt

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

Start Hunting!

Translated by