It a good problem, but it needs multiple test cases. Right now, the leading solution just returns a predefined vector with the correct result.
Return the 3n+1 sequence for n
6213 Solvers
Find common elements in matrix rows
1272 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
327 Solvers
find the surface area of a cube
345 Solvers
2895 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!