Hibiscus (Karkadi) contains plant acids such as malic, chemical and that indicates its high importance for humans. Many industries depend on Karkadi in most of the areas in Sudan due to its economic and medical benefits . In this study the statistical data of Hibiscus will be analyzed using Matlab. This study aims to compare and analyze the data of Hibiscus production in North Korodfan state, west Korodfan state and south Korodfan state in period 2006 to 2016 and if planted areas and harvested areas affect production or not. The applying mathematical method was followed using Matlab and found it is more accurate because the data is converges with the analysis, and arrived to relation between production, planted areas and harvested areas . All this data passed through code that designed by Matlab program for analysis and counting data in the analysis obtained bar graph for all data for each state. And counting production for select state of hibiscus production (high, low and non-exist). A new algorithm is designed based on the type of data and compared results with each year in one state, Matlab functions results showed excellent efficiency with 95% accuracy for analysis, counting and classification.