BMI Calculator with Health Status Indicator
Version 1.0.0 (1,38 ko) par
Athanasios Paraskevopoulos
BMI Calculator: Inputs weight and height to compute BMI, displays result with health status message, using dialog-based interaction.
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.
Citation pour cette source
Athanasios Paraskevopoulos (2025). BMI Calculator with Health Status Indicator (https://www.mathworks.com/matlabcentral/fileexchange/163036-bmi-calculator-with-health-status-indicator), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2024a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |