I need help finding y on a plot knowing x
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Davide Masiello
2022-3-10
编辑:Davide Masiello
2022-3-10
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!