combine text and number in a matrixs

조회 수: 1 (최근 30일)
Skydriver
Skydriver 2019년 10월 9일
답변: Walter Roberson 2019년 10월 10일
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에서 Axis Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by