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!