Numpy Create Index Array Matlab Simulink