combine text and number in a matrixs

1 view (last 30 days)
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

Accepted Answer

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

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!