Creating a text matrix

157 Ansichten (letzte 30 Tage)
Matthew
Matthew am 1 Nov. 2015
Beantwortet: Geoff Hayes am 1 Nov. 2015
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by