Modeling DAC in MATLAB

Started by novice_engineer March 12, 2005
Hi,

I am trying to model a 16bit DAC in MATLAB with its nonlinearities
and practical impariments.  Does anyone have any idea how to do this ?
Thanks.

Andy


		
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
novice_engineer wrote:

> Hi, > > I am trying to model a 16bit DAC in MATLAB with its nonlinearities > and practical impariments. Does anyone have any idea how to do this ? > Thanks. > > Andy >
Matlab or Simulink? Simulink has a quantization block, Matlab probably makes you roll your own -- you can just use floor(x) if you don't mind quantizing in steps of 1.0. Integral and differential nonlinearities will be tougher, because a data sheet will only spec the worst-case, and it won't be very forthcoming about the nature of the nonlinearities that you can expect. If you really need accuracy there you have some studying to do. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
novice_engineer wrote:

> Hi, > > I am trying to model a 16bit DAC in MATLAB with its nonlinearities > and practical impariments. Does anyone have any idea how to do this ? > Thanks. > > Andy >
Matlab or Simulink? Simulink has a quantization block, Matlab probably makes you roll your own -- you can just use floor(x) if you don't mind quantizing in steps of 1.0. Integral and differential nonlinearities will be tougher, because a data sheet will only spec the worst-case, and it won't be very forthcoming about the nature of the nonlinearities that you can expect. If you really need accuracy there you have some studying to do. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Hi,

I am trying to model a 16bit DAC in MATLAB with its nonlinearities
and practical impariments.  Does anyone have any idea how to do this ?
Thanks.

Andy


		
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com