How do I write a function that inputs seconds and outputs the number of days, hours, and mins?
    5 views (last 30 days)
  
       Show older comments
    
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 Comments
Answers (1)
  Shanmukha Voggu
    
 on 1 Oct 2021
        1 Comment
  Walter Roberson
      
      
 on 1 Oct 2021
				Not exactly, as it does not return these as numeric as required for the homework
See Also
Categories
				Find more on Performance and Memory in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

