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
인용 양식
Anmol Pardeshi (2025). ageCalculator - nonGUI (https://kr.mathworks.com/matlabcentral/fileexchange/78718-agecalculator-nongui), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0 |
