While Loop Through Array Matlab Documentation Plotly