How To Tabulate Values In A While Loop Matlab