Problem 72. Interpolator
Solution Stats
Problem Comments
-
9 Comments
WTF!
I know the function interp!! but I thougth I must program it... :-(
That's true, the instructions here do indicate that you're supposed to program it from scratch (e.g. find a(n) & a(n+1)).
For convenience, it would be useful if the code input variables were related to the variables listed in the solution window. We are given a, b, alpha, and beta in the Test Suite; the function that we are to type involves vb, va, a, and b. Sure, we can update it, but it just seems careless.
This is my first solving problem
First find the position then finding the gap length between arrays.
enjoyed this problem!
The tests do not check va equal to a(1) or a(n).
Test cases added to include for corner values as well.
The test is broken. The question statements gives that "va" is between a(1) and a(end), but the last test gave va = a(1).
Solution Comments
Show commentsProblem Recent Solvers3396
Suggested Problems
-
Remove the small words from a list of words.
1552 Solvers
-
Project Euler: Problem 4, Palindromic numbers
1248 Solvers
-
407 Solvers
-
Back to basics 20 - singleton dimensions
275 Solvers
-
Find nearest prime number less than input number
1010 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!