Python Find Object In Array Js Functions In Matlab