Numpy Find Element In Array Matlab Simulink