finding out the value of a point in a graph

3 Ansichten (letzte 30 Tage)
Ambika
Ambika am 25 Jan. 2012
how to find out the value of the peak point in a graph using command or coding? do the command "maxValue" will help?

Akzeptierte Antwort

Image Analyst
Image Analyst am 25 Jan. 2012
Well you plotted it so you must have the data. maxValue is not a command but max() is. You can try this:
maxValue = max(data(:));

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by