Powershell While Loop Syntax In Matlab