How To Do A While Loop On Matlab