Cody

Problem 72. Interpolator

Created by Cody Team in Community

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end) find the a(n), a(n+1) that flank it. Now interpolate the value, vb, such that it is proportionally between b(n) and b(n+1).

va can land exactly on a value of a.

Solution Stats

45.53% Correct | 54.47% Incorrect
Last solution submitted on Jul 19, 2019

Problem Comments

Solution Comments

Recent Solvers1183

Suggested Problems

More from this Author95