How To Use A While Loop In Matlab