int2strn

convert integer to string, using either integer or exponential format
1.7K 次下载
更新时间 2008/1/31

查看许可证

int2strn(n,k,p) converts the number n to a string, expressing n in integer format if it can be written using k digits or less, and otherwise in exponential format with precision p. The default values of k and p are 6 and 3, respectively. When numbers are written in exponential format, extraneous leading zeros in the exponent are suppressed.

引用格式

Phillip M. Feldman (2024). int2strn (https://www.mathworks.com/matlabcentral/fileexchange/18538-int2strn), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0