Have x find y
显示 更早的评论
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
采纳的回答
更多回答(3 个)
Image Analyst
2014-1-18
0 个投票
You can use spline() or polyfit() to get the value at "in between" locations.
1 个评论
Image Analyst
2014-1-18
Actually it's easier to just do what Azzi showed you.
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!