fusing two cell array columns into one

5 vues (au cours des 30 derniers jours)
AA
AA le 6 Mai 2016
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'

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 6 Mai 2016
cellfun(@(x,y) [x ' ' y],x1,x2,'un',0)

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by