how to find x value on this graph point name is find??
Show older comments
Answers (1)
KSSV
on 15 Apr 2019
Read about min and max. It gives you indices of the respective v alue also.
[val,idx] = max(y) ;
iwant = [x(idx) val] ; % maximum point
iwant1 = [x(idx-1) y(idx-1)] ; % previous point of max
iwant2 = [x(idx+1) y(idx+1)] ; % next point of max
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!.png)
.png)