Unique function for tall tables

I want to filter my tall timetable and only keep values the first value where the timestamp is unique but MATLAB says I can not do that with tall tables.
Is there another way to go about this?

댓글 수: 2

Rik
Rik 2022년 6월 2일
You could use a loop, keeping a shadow copy of all timestamps so far, keeping only the first.
The performance will not be great. It may still be good enough if you use a logical vector to mark deletions and remove unwanted rows in one go.
dpb
dpb 2022년 6월 2일
I've not messed w/ the tall table stuff, but I'd think retime could do that for you...the limitations mentioned don't seem to prohibit it.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

R
R
2022년 6월 2일

댓글:

dpb
2022년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by