Logical lookup between two dates
이전 댓글 표시
I am trying to create a logical lookup between 3 date vectors. Vector a is the lookup value (a date), Vector b is a start date, c is an end date. a is a larger size than b and c, which are both the same size.
I want to return a logical response (1) when a is b<=>c.
The vector size seems to be the main problem when trying to write this. I know there is a simple way to do it, but cant find the answer.
댓글 수: 3
Ameer Hamza
2018년 5월 24일
Can you share a sample of your code? Also since you mentioned that a is larger than b and c, so how do you want to deal with that?
Jan
2018년 5월 24일
What does "b<=>c" mean? What exactly is a "date vector"? Please provide some input data.
Richard Turner
2018년 5월 24일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Calendar에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!