Effacer les filtres
Effacer les filtres

how to change datetime cell to matrix array

14 vues (au cours des 30 derniers jours)
uzzi
uzzi le 3 Nov 2022
Commenté : uzzi le 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?

Réponse acceptée

Jan
Jan le 3 Nov 2022
TT = cat(1, T{:})
  1 commentaire
uzzi
uzzi le 3 Nov 2022
It works well now. Thanks a lot.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by