Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Time Values in array

조회 수: 5 (최근 30일)
kevokvr
kevokvr 2018년 12월 4일
마감: kevokvr 2018년 12월 4일
I have an array of time stamps for a video. For example T = [13:01:45, 14:59:03, 15:45:30, etc.....].
Is it possible to get the most occuring time value? I've tried several variations of mode(T) but that doesn't seem to work.
  댓글 수: 1
Steven Lord
Steven Lord 2018년 12월 4일
The mode function is defined for both duration and datetime arrays, so I would have expected it to work. Can you post a small sample of data (say 10-20 elements in T) along with what you expected mode to return when called with that sample so we can take a look?
Also please update the Release section on the right side of this page (below the Tags section) in case the behavior of datetime, duration, and/or mode have changed in a later release than the one you're using.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by