Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Writing Code for a function

2 Ansichten (letzte 30 Tage)
Lauren Kinchla
Lauren Kinchla am 13 Nov. 2019
Geschlossen: John D'Errico am 13 Nov. 2019
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

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by