Saori said:Hi, I'm developing an A/D converter in the LTspice program. However, the circuit presented problems and I only have the transfer curve.
I need to do a performance tests, find the INL and DNL error, how to do it in matlab?
Are you using spectre or LTspice? If the latter, I am not sure why you are asking your question in the Cadence Forum, or perhaps you are loading the LTspice data into ViVA? MATLAB issues can be discussed in the MATLAB forums, but your question seems to be a rather obvious as there exists a MATLAB function inldnl().
In any case, there are multiple means to analyze the DNL and INL of a data converter output using Cadence tools. I have used both ocean scripts as well the ViVA dnl() and inl() functions to determine DNL and INL performance. The two ViVA functions are described in its On-line support reference manual at URL: