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
Remove the polynomials that have positive real elements of their roots.
Arrange vector in ascending order
More from this Author56
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!