필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Writing Code for a function

조회 수: 2 (최근 30일)
Lauren Kinchla
Lauren Kinchla 2019년 11월 13일
마감: John D'Errico 2019년 11월 13일
I need to write a function named get15MinTimePeriod which receives a float as input. The float received by the function represents the timestamp (seconds since midnight) of an observation. The function must return the 15-min time period of the observation in HH:MM AM/PM format. The function should have the following name and parameters
get15MinTimePeriod(timestamp)
For example if the input is 300.125 then the function will return 12:00AM
and if the input is 26150.431 then the function will return 07:15AM

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by