You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
there are age calculator functions available in the MATHWORKS' MATLAB community but are an embellished version i.e they are in the form of a GUI. But not everyone needs a GUI. Hence, I made a function which can be used within a code
INPUTS: 2 1x3 dimensional double arrays (a) date of birth [dd , mm , yyyy] (b) date of examination [dd , mm , yyyy]
OUTPUT: 1 1x3 dimensional double array [years,months,days]
I tried to write a function but it was getting complicated and not all cases were being covered. So I took inspiration from the following source
Cite As
Anmol Pardeshi (2026). ageCalculator - nonGUI (https://www.mathworks.com/matlabcentral/fileexchange/78718-agecalculator-nongui), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.14 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
