필터 지우기
필터 지우기

Make a text matrix to one cell string

조회 수: 1 (최근 30일)
Alexandros
Alexandros 2011년 11월 17일
How to make a 5 column text matrix to one cell string.
>>A 'A1' 'A2' 'A3' 'A4'
i want to have
A = 'A1 A2 A3'
Thank you
  댓글 수: 1
the cyclist
the cyclist 2011년 11월 17일
I don't understand what you mean by "5 column text matrix". Can you write functioning MATLAB code that defines what your input array looks like?

댓글을 달려면 로그인하십시오.

채택된 답변

Alexandros
Alexandros 2011년 11월 17일
I make two separate strings of B2a = 'am' and B2b = 'old'
and then with strcat i can
B = strcat(B2a,{' '},B2b)
B = "am old'

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by