|
|
| File Information |
| Description |
This is a really simple program that makes the same as int2str but pads with zeros those integers with less digits than the maximum one.
It is useful (I hope) when our program reads files with names like: xxx001.dat, xxx002.dat, ..., xxx099.dat, xxx100.dat, etc., and we don't want to make use of if's to put zeros to int2str outputs (great isn't it).
int2strz(X,N) pads up to N digits (see the screenshot). |
| Acknowledgements |
This submission has inspired the following:
daylightGMT.m
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 14 Nov 2006 |
Jérôme Briot
|
|
|
| 14 Nov 2006 |
Jérôme Briot
|
|
|
| 15 Nov 2006 |
Fco. Camacho
|
|
|
| 17 Sep 2008 |
Brien Polk
|
|
|
| Updates |
| 12 Mar 2008 |
Fixed minor bug for no numeric inputs, or a single zero. |
|
Contact us at files@mathworks.com