Demonstration example: List of Matlab codes for the sizing of a two-stage CMOS amplifier: gmn_modeling.m: modeling of the nmos-transconductance of the BSIM4 transistor model as a function of the biasing variables gdsn_modeling: modeling of the nmos-conductance of the BSIM4 transistor model as a function of the biasing variables gmp_modeling.m: modeling of the pmos-transconductance of the BSIM4 transistor model as a function of the biasing variables gdsp_modeling: modeling of the pmos-conductance of the BSIM4 transistor model as a function of the biasing variables polygdsn, polygdsp, polygmn, polygmp: generated conductance and transconductance models polyfitn: fits a general polynomial regression model in n-dimensions twostage_constraint.hys: isat3 input: two stage amplifier sizing constaints voltage_current_ranges.txt: isat3 output: Computed DC voltage and DC current ranges of the two stage amplifier clutering.m: data clustering and polynomial regression modeling of the tansistor width variable wnmos: generated clustered polynomial model of the n-mos tansistor width as a function of the biasing variables wpmos: generated clustered polynomial model of the p-mos tansistor width as a function of the biasing variables widthsearch.m: determines the two-stage CMOS amplifier size using a global optimization procedure for the conversion from bias to size ranges objfun.m: objective function for the serach of the minimum transistor width objfun1.m: objective function for the serach of the maximum transistor width verifynlss2.m: Verify the existence of a solution for a nonlinear system of equations within a given candidate region. ***** For more information please contact Ons Lahiouel: lahiouel@encs.concordia.ca ******