It a good problem, but it needs multiple test cases. Right now, the leading solution just returns a predefined vector with the correct result.
Replace NaNs with the number that appears to its left in the row.
2032 Solvers
Generate a string like abbcccddddeeeee
237 Solvers
Is this triangle right-angled?
2993 Solvers
282 Solvers
Matlab Basics - y as a function of x
342 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!