tricky data parsing question.. how to pull values from certain time intervals
2 次查看(过去 30 天)
显示 更早的评论
take a look at the image in the link below for clarification:
Basically I have a very long data set which includes an occassional break in data at certain times, which looks something similar to what is in the image. I know the exact times at which these occur, and I need to do a search at each time find out what the last 3 numbers are in columns 5, 6, and 7 before the break in data. In this case, the numbers would be 0, -3.137756, and 3.18323 (the values one cell row above the highlighted line). the problem is that the times that i need to check will not match any of those in the left hand column. they will most likely be in between two given times on the 1st column. this might eliminate index creation as a possibility.
Im not expecting anyone to solve this, but any input at all would be greatly helpful as i am still new to matlab. i already know how to do find(... ,'last') to get the last value in a list, but not for multiple columns, and not for different intervals for that matter.
thanks in advance
1 个评论
Oleg Komarov
2011-5-24
this is a duplicate question and I answered you here: http://www.mathworks.com/matlabcentral/answers/7716-matlab-challenge-searching-range-of-data-to-see-if-certain-values-exist
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!