How do I write a function that inputs seconds and outputs the number of days, hours, and mins?
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Shanmukha Voggu
2021-10-1
1 个评论
Walter Roberson
2021-10-1
Not exactly, as it does not return these as numeric as required for the homework
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!