NUM2LAB

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.

引用

Marco Cococcioni (2026). NUM2LAB (https://jp.mathworks.com/matlabcentral/fileexchange/20698-num2lab), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersData Type Conversion についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

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