Matlab code and simulink to modify the Relative Gain Array | Synapse