NUM2LAB
Version 1.0.0.0 (1,71 ko) par
Marco Cococcioni
Converts a numeric vector into a cell vector of strings.
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.
Citation pour cette source
Marco Cococcioni (2026). NUM2LAB (https://fr.mathworks.com/matlabcentral/fileexchange/20698-num2lab), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2007a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Data Type Conversion dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | Core function replaced with the more efficient version based on the use of cellstr and num2str (thanks to Jos). |
