How can i get corresponding value in a table?
Mostrar comentarios más antiguos
for example maximum of the table is obtained but need to find at what time is it obtained
2 comentarios
Ameer Hamza
el 21 de Mzo. de 2020
Can you share an example of your table?
madhan ravi
el 21 de Mzo. de 2020
are you talking about a timetable(...) ? share the data as .mat file
Respuestas (1)
Samatha Aleti
el 24 de Mzo. de 2020
Hi,
As per my understanding, you are trying to find the corresponding “time” value of a maximum value in the timetable. You can do this by finding the index of maximum.Here is a sample code:
indoors = readtimetable('indoors.csv');
[maxValue maxIndex] = max(indoors.Humidity)
maxT = indoors.Time(maxIndex)
Categorías
Más información sobre Tables 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!