how to change datetime cell to matrix array

17 visualizzazioni (ultimi 30 giorni)
uzzi
uzzi il 3 Nov 2022
Commentato: uzzi il 3 Nov 2022
This is my datetime cell T. I want to transform it to array. But all I am doing know is this format.
t=[T{1,1};T{1,2};T{1,3};T{1,4};T{1,5};T{1,6};T{1,7};T{1,8};T{1,9};T{1,10};T{1,11};T{1,12};T{1,13};T{1,14};T{1,15}];
I used cell2mat and cell2str. It is not working. Can someone help me?

Risposta accettata

Jan
Jan il 3 Nov 2022
TT = cat(1, T{:})

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by