lookup table(interp)command

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!

 Accepted Answer

y1 = interp1(x, y, x1);

1 Comment

Leotsing
Leotsing on 31 Jul 2016
Edited: Leotsing on 31 Jul 2016
Thank you very much!

Sign in to comment.

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 31 Jul 2016

Edited:

on 31 Jul 2016

Community Treasure Hunt

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

Start Hunting!