Matlab Replace Elements In Array Matlab Simulink