How do I write a function that inputs seconds and outputs the number of days, hours, and mins?
이전 댓글 표시
I'm confused in writing a function that can take seconds as an input and provides an output in the number of days, hours, minutes, and seconds, if applicable.
댓글 수: 2
Walter Roberson
2021년 9월 28일
Seconds relative to what base time?
Walter Roberson
2021년 9월 28일
See functions such as seconds() -- and mod()
답변 (1개)
댓글 수: 1
Walter Roberson
2021년 10월 1일
Not exactly, as it does not return these as numeric as required for the homework
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!