combine text and number in a matrixs

1 Ansicht (letzte 30 Tage)
Skydriver
Skydriver am 9 Okt. 2019
Beantwortet: Walter Roberson am 10 Okt. 2019
I have data a='clear' and b=6 and c=7.
I want develop a matrik contain of a and b. It should be = [clear, 6, 7]
I would be appreciate if anyybody can help
Thx

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Okt. 2019
This is not possible with regular matrices. You can use cell arrays. Also table() objects can have columns of different types.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing 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