Problem 45770. Approximate functions 1 (★★★)
Solution Stats
Problem Comments
-
2 Comments
Dyuman Joshi
on 27 Nov 2020
You should use tolerance based test-suites and not isequal while dealing with floats.
goc3
on 30 Nov 2020
A tolerance has been added to the test suite.
Problem Recent Solvers41
Suggested Problems
-
Return unique values without sorting
822 Solvers
-
Determine the number of odd integers in a vector
590 Solvers
-
Convert given decimal number to binary number.
1484 Solvers
-
Find the sum of the largest two elements in a vector
98 Solvers
-
Create a vector of n alternating ones and zeros (★★)
102 Solvers
More from this Author52
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!