Azzera filtri
Azzera filtri

combine text and number in a matrixs

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by