combine text and number in a matrixs

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by