Select column in timetable based on value in table
显示 更早的评论
Hi everyone,
I have a timetable SL containing a distance in metres (SL(:, 1)) and data from 9 sensors.
I also have the distance where these sensors are located in a different table SensorLoc.
My goal is to select the data from one of the sensors based on the closest value in SL(:,1).
For example for the first row BL_TS = 205 so that means that 'Sensor_13' is the closest.
I'd like to create a new matrix containing the data from the sensor closest to the location for each datetime.
Does anyone has some advice on how to start with this?
Thanks a lot!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!