lookup table(interp)command

2 visualizzazioni (ultimi 30 giorni)
Leotsing
Leotsing il 31 Lug 2016
Modificato: Leotsing il 31 Lug 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!

Risposta accettata

Walter Roberson
Walter Roberson il 31 Lug 2016
y1 = interp1(x, y, x1);
  1 Commento
Leotsing
Leotsing il 31 Lug 2016
Modificato: Leotsing il 31 Lug 2016
Thank you very much!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by