Interactive GUI for CO₂ Emissions Analysis and AI-Based Fore
Version 1.0.0 (1.18 MB) by
Dr Varaprasad Janamala
This GUI enables users to interactively analyze historical CO₂ emissions data by country and sector, perform basic statistical analysis.
Key Features:
✔ Interactive GUI with dropdown selection for country and sector
✔ Automatic statistical analysis (Mean, Std Dev, Min, Max)
✔ Forecasting using Linear Regression, Decision Tree, Neural Network
✔ Visual display of historical and forecasted CO₂ emissions
✔ Comparative performance metrics (MAE, MSE, RMSE, R²)
✔ Clean command window and figure management on every run
Instructions to Execute:
- Place your dataset.csv file containing CO₂ emissions data in the same folder as the .m file.The dataset must contain columns:
- country (string)
- sector (string)
- date (format: dd/MM/yyyy)
- value (numeric, CO₂ emissions)
- Open the .m file in MATLAB.
- Run the script. The GUI window will appear centered on the screen.
- From the dropdown menus, select a country and sector.
- Click Run Analysis.
- The GUI will display statistical results.
- Historical and forecasted CO₂ emissions plots will open.
- Forecast results and performance metrics will be printed in the Command Window.
- To analyze a different country or sector, simply change the selection and click Run Analysis again.
Requirements:
✔ MATLAB R2021b or newer recommended
✔ Statistics and Machine Learning Toolbox
Cite As
Dr Varaprasad Janamala (2025). Interactive GUI for CO₂ Emissions Analysis and AI-Based Fore (https://uk.mathworks.com/matlabcentral/fileexchange/181391-interactive-gui-for-co-emissions-analysis-and-ai-based-fore), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
