combine text and number in a matrixs

1 vue (au cours des 30 derniers jours)
Skydriver
Skydriver le 9 Oct 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

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by