Dear all,
I have an x and y vector. x is my Datetime vector and y is my biosignal. x and y have the same length.
How do i cut both vectors from start to a specific date?
Thanks

 채택된 답변

Andrei Bobrov
Andrei Bobrov 2018년 10월 31일

0 개 추천

lo = x(x <= specific_date);
y_out = y(lo);

추가 답변 (0개)

카테고리

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

태그

질문:

2018년 10월 31일

답변:

2018년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by