fusing two cell array columns into one

조회 수: 5 (최근 30일)
AA
AA 2016년 5월 6일
답변: Azzi Abdelmalek 2016년 5월 6일
SUppose I have two different cell arrays. How can I fuse these two into one single cell array column so that i get 19-Jan-2006 05:53 and so on
x1= '05:32'
'05:53'
'06:14'
'06:40'
'07:02'
'07:23'
'07:46'
'08:06'
'08:29'
'08:50'
x2= '19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'
'19-Jan-2006'

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 6일
cellfun(@(x,y) [x ' ' y],x1,x2,'un',0)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by