Getting data values from a plot
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 8 Juil 2011
You mean fit a line to it and solve?
Sure, use polyfit and polyval.
doc polyfit
doc polyval
3 commentaires
NS
le 8 Juil 2011
Sean de Wolski
le 8 Juil 2011
"Best" is a word you could write a PhD thesis on.
NS
le 8 Juil 2011
Catégories
En savoir plus sur Data Exploration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!