Problem 44449. Moving Median Absolute Deviation
Solution Stats
Problem Comments
-
5 Comments
The description was improved and the test suite fixed.
The test suite needs to be fixed so it can admit a tolerance in the solution since it is using floats. Currently MATLAB has the function movmad, but even with it, and using round the last case of the test suite fails.
The test suite has had a tolerance applied.
The tolerance isn't defined in the test suite.
@ChrisR: the tolerance is hard-coded into the assert lines (1e-3).
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
Return the 3n+1 sequence for n
8120 Solvers
-
Construct a string from letters and counts
140 Solvers
-
Return unique values without sorting
897 Solvers
-
Convert from Base 10 to base 5
254 Solvers
-
Given a matrix, return the last eigen value
216 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!