Problem 378. Inhomogenous Depth Scale Interpolation
23.91% Correct | 76.09% Incorrect
Last Solution submitted on Jul 31, 2022
Rafael S.T. Vieira on 10 Nov 2020
Please, bmtran, don't use isequal with floats, prefer to use abs(a-b) < tol. Unless I use the function interp1 exactly like you did, my solution cannot pass the test suite. Please try my commented code (and the difference between the solutions is at the order of 1e-15).
goc3 on 19 Feb 2023
The test suite has been updated to not use isequal().
Solution CommentsShow comments
Problem Recent Solvers7
Find common elements in matrix rows
given 3 sides, find area of this triangle
Create a matrix X, where each column is a shifted copy of the vector v
More from this Author56
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!