Explain While Loop And For Loop With Array In Matlab