CELP (CELl Processing) is a functional Programming package for Matlab.
It is often better to use FP instead of loops:
- it s more compact
- it s more clear.
how to use recusive medthod to generate
Solomon sequence number
http://www.Programming-challenges.com/pg.php?page=downloadproblem&probid=110607&format=html