how to find a value of x from the graph if y=128

2 views (last 30 days)
I don't know how to find a value of x if y given as 128 please help me to solve this question
  1 Comment
the cyclist
the cyclist on 13 Dec 2015
Please give us more than a tweet-length description of your problem, and don't make us guess.
Do you have only an image of the graph? What format? PNG? TIFF? Can you post it?
Or do you have the data from the graph? Do you have x and y in numeric vectors? Can you share the data, or a small sample?
Help us help you.

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 13 Dec 2015
If ‘y’ is monotonically increasing (and is otherwise compatible with all the requirements of the function), I would use interp1:
x128 = interp1(y, x, 128);
See the documentation for interp1 to understand what it requires.

Tags

Community Treasure Hunt

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

Start Hunting!