Example Program Using While Loop In Matlab