How can i get corresponding value in a table?
2 次查看(过去 30 天)
显示 更早的评论
for example maximum of the table is obtained but need to find at what time is it obtained
2 个评论
回答(1 个)
Samatha Aleti
2020-3-24
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)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!