Rank: 16224 based on downloads (last 30 days) and 0 files submitted
photo

Alex Fay

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Alex View all
Updated File Comments Rating
31 Jan 2009 timetick Time formatted tick labels. Author: Scott Hirsch

I aded some more edits, I can't seem to upload them, though.

31 Jan 2009 timetick Time formatted tick labels. Author: Scott Hirsch

30 Jan 2009 timetick Time formatted tick labels. Author: Scott Hirsch

And now in English.
fmt = ['%02d:%02d:%0' totalwidth '.' precision 'f'];

The leading zero also works on fixed-point. For example, if the seconds format is '%07.4f', a seconds value of 0.440 seconds comes out as '00.4400'.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com