hours:minutes:secon​ds on MATLAB

Version 1.0.0 (1.32 KB) by TAMRABET
convert a given number of seconds into hours:minutes:seconds
5 Downloads
Updated 27 Jan 2023

View License

  1. This program is for: displaying and calculating a given number of seconds to show it in an organized format ''HH:MM:SS"".
  2. I use in this script this functions: input, fix, fprintf.
  3. The number that you enter at first is on seconds.
  4. The final result that will appear in the command window of MATLAB is:
the time is: hours: minutes:seconds.

Cite As

TAMRABET (2024). hours:minutes:seconds on MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/123980-hours-minutes-seconds-on-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0