Numpy Repeat Elements In Array Matlab Simulink