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 ExchangeDates 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