How can I extra data from plot graph? As i have data x axis= 10,12,14,16,18 and their corresponding value on y axis= 0.6,0.9,1,0.2,1.28. Now how can I get y axis value for x axis value 20?

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 5월 2일

0 개 추천

You can use interp1 function
x=[10,12,14,16,18]
y=[0.6,0.9,1,0.2,1.28]
xi=20
yi=interp1(x,y,xi,'linear','extrap')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2015년 5월 2일

답변:

2015년 5월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by