필터 지우기
필터 지우기

How to extract the value of the middle point of the graph without data.

조회 수: 2 (최근 30일)
haeyeon JI
haeyeon JI 2020년 8월 16일
답변: KSSV 2020년 8월 16일
I drew a graph with a variable.
x =[5 2 1 0.5 0.4 0.2 0.1 0.05 0.04 0.02 0.01]
y=[0.020483611 0.140590007 0.551269003 1.46595408 1.896853378 3.587587888 5.525292461 8.535573537 8.227987381 3.137199997 3.142586194]
or example, when x= 3 and 4, which is a value between x=5 and 2,
how can I get the Corresponding y value?
How to extract the value of the middle point of the graph without data...

채택된 답변

KSSV
KSSV 2020년 8월 16일
Read about interp1.
xi = [2 3 4 5] ;
yi = interp1(x,y,xi)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by