adconv.m
来自「toolbox of sdt implementation」· M 代码 · 共 13 行
M
13 行
function com = ADconv(Vin,Vthreshold)
% Implements the ADC (by A. Fornasari, P. Malcovati)
%
% com = ADconv(Vin,Vthreshold)
%
% Vin: Input signal
% Vthreshold: Threshold voltage array
%
% com: Quantized output voltage (decimal representation)
termometric=((Vin-Vthreshold)>0);
com=sum(termometric)+1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?