HW6 - number of days. >> [h, m, s]=...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
HW6 _CE108- Write a function daysToHMS(1) that takes a time duration in days (perhaps fractional) and returns three values, the number of hours, minutes, and seconds in that
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: number of days. >> [h, m, s]= daysToHMS(1) Ans: h=24 m=0;s=0;...
View Full Document

Ask a homework question - tutors are online