I need help finding y on a plot knowing x

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

回答 (1 件)

Davide Masiello
Davide Masiello 2022 年 3 月 10 日
編集済み: Davide Masiello 2022 年 3 月 10 日

0 投票

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2022 年 3 月 10 日

編集済み:

2022 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by