lookup table(interp)command

1 vue (au cours des 30 derniers jours)
Leotsing
Leotsing le 31 Juil 2016
Modifié(e) : Leotsing le 31 Juil 2016
Be brief:
I input x1=2.3 and I want to get output y1 (Linear correspondence of 2-x1-3 TO 2.3-y1-3.1)
what command can I use?
Tanks to everyone view and review this quesition!

Réponse acceptée

Walter Roberson
Walter Roberson le 31 Juil 2016
y1 = interp1(x, y, x1);
  1 commentaire
Leotsing
Leotsing le 31 Juil 2016
Modifié(e) : Leotsing le 31 Juil 2016
Thank you very much!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by