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

 Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 31 de Oct. de 2018
lo = x(x <= specific_date);
y_out = y(lo);

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 31 de Oct. de 2018

Respondida:

el 31 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by