There is something a little unsatisfying about solving a 'Problem' in which there is no input, and (thus) only one output case required, and where furthermore a valid solution is shown in the Test Suite. This seems to apply to all/most 'Problems' tagged "sttbdp1".
Replace NaNs with the number that appears to its left in the row.
2033 Solvers
498 Solvers
Flip the main diagonal of a matrix
511 Solvers
477 Solvers
Back to Basics - Find no. of elements in a matrix?
220 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!