Changing input data sample from the same dataset
Show older comments
I have script mapping the driving of vehicles. The data for the vehicles are listed like this:
Vehicle nr.
173 Data
173 Data
173 Data
174 Data
174 Data
174 Data
and so on. I have made a script for vehicle 173. The first vehicle, Vehicle 173 has 224 GPS-measurements (First value at row 1 and last at row 224 )
But now I want to run it again for another vehicle. Vehicle 174s first measurement is at row 225 and the last one is at row 360. However, it is not feasible for my script. So somehow I need to detach each vehicle from the list, so every vehicle constitute its own list of 1:XXX. That is, for vehicle 174, this becomes From row 1 to 136 instead.
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!