fprint60f

Version 1.0 (18.5 KB) by James Ashton
Provide extended versions of fprintf and sprintf to support sexagesimal (base 60) notation.
19 Downloads
Updated 12 Jul 2017

View License

The new functions fprint60f and sprint60f are provided which are backwards compatible with Matlab's built-in fprintf and sprintf. Extended format operators %C, %D, %H, %M and %S support printing values in sexagesimal notation. As an example of what is possible, fprint60f('%D\D%02M\M%04.1S\S', 60/13) gives '4°36′55.4″'.

Cite As

James Ashton (2024). fprint60f (https://www.mathworks.com/matlabcentral/fileexchange/63690-fprint60f), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Just for fun in Help Center and MATLAB Answers

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