Needs more test cases, having arrays with more than 4 elements.
This is definitely cheating.
I couldn't resist... :o) Sorry!!!
Replace NaNs with the number that appears to its left in the row.
2022 Solvers
267 Solvers
Rotate input square matrix 90 degrees CCW without rot90
381 Solvers
Is the paranthesis sequence balanced ?
89 Solvers
2461 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!