Effacer les filtres
Effacer les filtres

I need help finding y on a plot knowing x

1 vue (au cours des 30 derniers jours)
Florina-Iuliana TUDOR
Florina-Iuliana TUDOR le 10 Mar 2022
Hi, i created a graph using excel data and now i need to find y on the graph for some x data that is not in the excel tabel

Réponses (1)

Davide Masiello
Davide Masiello le 10 Mar 2022
Modifié(e) : Davide Masiello le 10 Mar 2022
Let x and y be your dataset extracted from excel, to find y0 at x0, you can use the following code.
y0 = interp1(x,y,x0);
For additional info, check the following link

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by