Powershell While Loop Syntax Matlab Documentation Plot