NUM2LAB

Converts a numeric vector into a cell vector of strings.

Ahora está siguiendo esta publicación

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.

Citar como

Marco Cococcioni (2026). NUM2LAB (https://es.mathworks.com/matlabcentral/fileexchange/20698-num2lab), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Data Type Conversion en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0

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