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 commentaires

madhan ravi
madhan ravi le 17 Mar 2019
"but its not giving me a suitable result ..."
How? and why?, illustrate with a sample data.
Image Analyst
Image Analyst le 17 Mar 2019
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.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 18 Mar 2019

0 votes

I guess you are looking for fzero().

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Question posée :

le 17 Mar 2019

Réponse apportée :

Jan
le 18 Mar 2019

Community Treasure Hunt

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

Start Hunting!

Translated by