File Exchange

image thumbnail

NUM2LAB

version 1.0.0.0 (1.71 KB) by Marco Cococcioni
Converts a numeric vector into a cell vector of strings.

1.4K Downloads

Updated 17 Jul 2008

View License

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 (2021). NUM2LAB (https://www.mathworks.com/matlabcentral/fileexchange/20698-num2lab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!