Have x find y
Show older comments
Hello,
I have one problem which i can't solve.
I have x = [...], y1=[...], y2=[..] And i have made plot in one graph. Now i want with specific X (is 230) find y1 and y2 on graph and write it out that i can know which value is y1 and y2 on this x.
Thanks in advance. Regards, Andrej
1 Comment
Azzi Abdelmalek
on 19 Jan 2014
androSLO commented
How to do that?
Accepted Answer
More Answers (3)
Image Analyst
on 18 Jan 2014
0 votes
You can use spline() or polyfit() to get the value at "in between" locations.
1 Comment
Image Analyst
on 18 Jan 2014
Actually it's easier to just do what Azzi showed you.
androSLO
on 19 Jan 2014
0 votes
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!