Select column in timetable based on value in table
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Polar Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!