Powershell Create Function In Matlab To Find