Will not work for x = [1 3 5 7] or x = [0:5:30], for example.
Return the 3n+1 sequence for n
6217 Solvers
2527 Solvers
Find state names that start with the letter N
617 Solvers
Flag largest magnitude swings as they occur
588 Solvers
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!