SETGAIN Set the property 'gain' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SETGAIN Set the property 'gain' CALL: obj = obj.setGain(pz(2)); obj = setGain(obj, pz(2)); INPUTS: obj - is a miir object VERSION: $Id: setGain.m,v 1.1 2008/07/22 10:24:01 ingo Exp $ HISTORY: 16-07-2008 Diepholz Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 % SETGAIN Set the property 'gain' 0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0003 % 0004 % DESCRIPTION: SETGAIN Set the property 'gain' 0005 % 0006 % CALL: obj = obj.setGain(pz(2)); 0007 % obj = setGain(obj, pz(2)); 0008 % 0009 % INPUTS: obj - is a miir object 0010 % 0011 % VERSION: $Id: setGain.m,v 1.1 2008/07/22 10:24:01 ingo Exp $ 0012 % 0013 % HISTORY: 16-07-2008 Diepholz 0014 % Creation 0015 % 0016 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0017 0018 function obj = setGain(obj, val) 0019 %%% decide whether we modify the pzmodel-object, or create a new one. 0020 obj = copy(obj, nargout); 0021 0022 %%% set 'gain' 0023 obj.gain = val; 0024 end 0025