Finding a value based on multiple conditions of the next row
조회 수: 1 (최근 30일)
이전 댓글 표시
I need to find the row in a csv that comes right before a row where multiple conditions are met for example, the .csv look something like:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/360391/image.png)
I basically need the DisttoStartPoint at of Procedure 1 when Procedure 2 has a DriveTime of <1
I can get the DistToStartPoint of the Procedure 2 by using condtions but I can not figure out how to get the info from the previous row.
Thank you.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Dialog Boxes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!