While Loop Through Array Matlab Documentation Guidance