how to change datetime cell to matrix array

조회 수: 5 (최근 30일)
uzzi
uzzi 2022년 11월 3일
댓글: uzzi 2022년 11월 3일
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?

채택된 답변

Jan
Jan 2022년 11월 3일
TT = cat(1, T{:})

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by