You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Marco Cococcioni (2026). NUM2LAB (https://www.mathworks.com/matlabcentral/fileexchange/20698-num2lab), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.71 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Core function replaced with the more efficient version based on the use of cellstr and num2str (thanks to Jos). |
