Couldn't did it without binbin's help... anyway, absolutely nice problem! worth look into it.
Glad you liked it!
good work!perfect
it works in matlab r2015a. LOL
One of the best Cody solutions !
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
1901 Solvers
Determine the number of odd integers in a vector
435 Solvers
104 Solvers
Determine the length of a string of characters
172 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!