Getting data values from a plot
显示 更早的评论
Hi Guys,
I want to get (x,y) values from a plot. Say my plot is made of the following points (1,1) (2,3) (4,4) and (5,9). Is there anyway to get the value of y on this plot when x=2.5.
Thanks NS
采纳的回答
更多回答(1 个)
Sean de Wolski
2011-7-8
You mean fit a line to it and solve?
Sure, use polyfit and polyval.
doc polyfit
doc polyval
3 个评论
NS
2011-7-8
Sean de Wolski
2011-7-8
"Best" is a word you could write a PhD thesis on.
NS
2011-7-8
类别
在 帮助中心 和 File Exchange 中查找有关 Data Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!