i have two array x=[1 6 8 9],y=[3 6 9 14],then i plot (x,y) in matlab. i have no linear equation of x,y. i have only above array of x and y. if value of x is 4 then what is the value of y.

21 ビュー (過去 30 日間)
i have two array x=[1 6 8 9],y=[3 6 9 14],then i plot (x,y) in matlab. i have no linear equation of x,y. i have only above array of x and y. if value of x is 4 then what is the value of y.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 11 月 29 日
編集済み: Azzi Abdelmalek 2012 年 11 月 29 日
x=[1 6 8 9]
y=[3 6 9 14]
x0=4
y0=interp1(x,y,x0)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by