NUM2LAB

版本 1.0.0.0 (1.7 KB) 作者: Marco Cococcioni
Converts a numeric vector into a cell vector of strings.
1.4K 次下载
更新时间 2008/7/17

查看许可证

This function converts a numeric vector into a cell vector of strings. Each element of the cell contains the string conversion of the corresponding entry in the numeric vector, prefixed and postfixed by strings provided by the user. The format for numeric to string conversion can also be specified.
Useful for creating legend labels or tick labels.

引用格式

Marco Cococcioni (2024). NUM2LAB (https://www.mathworks.com/matlabcentral/fileexchange/20698-num2lab), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

Core function replaced with the more efficient version based on the use of cellstr and num2str (thanks to Jos).