Java While Loop Through Array Matlab Documentation Plotagon