Just fixed the code from another player, which had an interesting solution.
solution which does not use any nested function ;)
Find the sum of all the numbers of the input vector
31995 Solvers
Maximum running product for a string of numbers
1113 Solvers
Return unique values without sorting
589 Solvers
Arrange vector in ascending order
624 Solvers
242 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!