Hightlighting data on a plot
3 次查看(过去 30 天)
显示 更早的评论
Hi All,
I've got a plot of current against time. I can see on the plot that I have three points where the current is > 1.7A. I'd like to print a list of the data points (time stamp and value) where the data meets the criteria. I have data in the following format.
Array of Times : myCurrentTime
7.349393999652778
7.349393999768519
7.349393999884259
7.349394000000000
7.349394000115741
7.349394000231482
7.349394000347222
7.349394000462963
7.349394000578704
7.349394000694445
Array of Currents: myCurrentValues
Columns 1 through 6
0.025361908599700 0.025361908599700 1.871361908599700 0.024999415502000 0.024999415502000 0.025361908599700
Columns 7 through 11
0.024999415502000 0.024999415502000 0.024999415502000 0.024999415502000 0.024999415502000
Thanks in advance.
ceejld
0 个评论
回答(1 个)
Daniel Shub
2012-5-10
myCurrentTime(myCurrentValues>1.7)
2 个评论
Daniel Shub
2012-5-10
That command will "print" them to the screen. Where do you want to print them?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!