I really don't see the point of that kind of problems where you can't use Matlab built-in functions.
which functions?
Maximum running product for a string of numbers
1151 Solvers
Test if a Number is a Palindrome without using any String Operations
183 Solvers
383 Solvers
Relative ratio of "1" in binary number
429 Solvers
Back to basics - mean of corner elements of a matrix
305 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!