MATLAB amplifer in detail