Problem 49632. Matrix Pattern 9
Solution Stats
Problem Comments
-
6 Comments
Doddy -- I think the last two columns of y_correct in problem 4 are incorrect.
@William , I think it is correct.
Binbin -- Yes, I see. It's just a more difficult problem than I thought it was!
@William, Yes. It is hard to guess the author's thoughts
tip: pi is used as a factor.
Can confirm that Rafael's hint proved vital to arriving at a solution that 1) works on all the cases in the test suite and 2) relies on the hidden pattern. Not all accepted solutions accomplished the latter.
Solution Comments
Show commentsProblem Recent Solvers121
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3059 Solvers
-
Convert hex color specification to MATLAB RGB
253 Solvers
-
Matrix with different incremental runs
575 Solvers
-
Circular Primes (based on Project Euler, problem 35)
648 Solvers
-
Create sequnce 1 4 9 16 25.........
413 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!