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

 Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 31 Okt. 2018

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by