fusing two cell array columns into one

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