CELL to Matrix (Time/Date data)

조회 수: 1 (최근 30일)
G
G 2016년 6월 15일
댓글: G 2016년 6월 15일
Hi all,
Someone can tell me please how to convert this cells to matrix (dates) and split the date by hour and minute?
thank you!

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 6월 15일
load cell2date
out=regexp(c,'\d+:\d+','match','once')
  댓글 수: 3
Azzi Abdelmalek
Azzi Abdelmalek 2016년 6월 15일
편집: Azzi Abdelmalek 2016년 6월 15일
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
G
G 2016년 6월 15일
thank you Azzi!!!!
is what i need
kind regards

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by