Finding X value value at y value?

In matlab is it be possible to find x values at specific y value, just as we did for finding y value at specific x value by using interp1
y2 = interp1(x,y,x0)
One way I did it is
x2 = interp1(y,x,y0)
but its not giving me a suitable result ...

2 件のコメント

madhan ravi
madhan ravi 2019 年 3 月 17 日
"but its not giving me a suitable result ..."
How? and why?, illustrate with a sample data.
Image Analyst
Image Analyst 2019 年 3 月 17 日
Then
  1. ask an actual question
  2. give us your data
  3. tell us what other ways you tried
  4. tell us why the one way you tried (and the others) is not suitable.

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2019 年 3 月 18 日

0 投票

I guess you are looking for fzero().

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

質問済み:

2019 年 3 月 17 日

回答済み:

Jan
2019 年 3 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by