BMI Calculator with Health Status Indicator

BMI Calculator: Inputs weight and height to compute BMI, displays result with health status message, using dialog-based interaction.
6 Downloads
Updated 9 Apr 2024

View License

This script is a BMI (Body Mass Index) calculator designed to interactively gather a user's weight in kilograms and height in meters through a dialog box. Upon input, it calculates the BMI by dividing the weight by the square of the height. The result is then displayed to the user along with a personalized greeting. Additionally, the script evaluates the calculated BMI to provide a health status indicator, classifying the user's weight category as very underweight, underweight, normal weight, overweight, or obese. This classification is based on established BMI thresholds and is displayed alongside the numerical BMI value.

Cite As

Athanasios Paraskevopoulos (2024). BMI Calculator with Health Status Indicator (https://www.mathworks.com/matlabcentral/fileexchange/163036-bmi-calculator-with-health-status-indicator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0