ageCalculator - nonGUI
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 .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
