Creating a text matrix

157 ビュー (過去 30 日間)
Matthew
Matthew 2015 年 11 月 1 日
回答済み: Geoff Hayes 2015 年 11 月 1 日
Just wanted to know whether Matlab can create a matrix which consists of text for example:
Matrix A =
[Text 1a Text 1b; Text 2a Text 2b; Text 3a Text 3b] etc.
I just need to know as I want to be able to manipulate the matrix in a way that will let me rearrange the text inside the matrix. Any help will be appreciated.

採用された回答

Geoff Hayes
Geoff Hayes 2015 年 11 月 1 日
Matthew - yes, MATLAB can create a matrix (or a multidimensional cell array) of text strings. See cell arrays of strings for details.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by