Problem 2029. Convert vector datasets to plot with imagesc instead of scatter
Solution Stats
Problem Comments
-
5 Comments
I think the test suite is wrong:
If "G" is supposed to have a "minimal number of empty cells" then why is the second test a 9x9 with the last column being all zeros? I would expect this column to be unnecessary.
For the first test, I'm getting 1.2690e-05 for chk2.
Problem is great though!
Sean, I agree, my bad, I removed the end column and rescored. my code yields 1.2680e-05 still (last value kept per cell?)
The function roundn is no longer supported by Cody, please update the test suite to round(x/10^e)*10^e.
The test suite has been fixed as requested by Rafael S.T. Vieira.
Thanks, goc3. Now the problem is working again. :)
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8386 Solvers
-
Remove the small words from a list of words.
1304 Solvers
-
8359 Solvers
-
37 Solvers
-
Wind outward from the center ...
80 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!