How to know about the co-ordinates of a point in a MATLAB plot
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

how to know about the value of intersection point .
Let it be blue line, now I want to know the value at y when value of x is 0.025
2 commentaires
Réponses (1)
Star Strider
le 26 Mai 2015
Modifié(e) : Star Strider
le 26 Mai 2015
Use the interp1 function:
yi = interp1(x, y, 0.025, 'linear','extrap');
assuming that ‘x’ and ‘y’ are the data that define your blue line, ‘yi’ will be the value of ‘y’ where x=0.025.
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!