thermometer.m
来自「code of an ADC implementation woith matl」· M 代码 · 共 8 行
M
8 行
function t = thermometer(x,m)% t = thermometer(x,m) t is an m by length(x) matrix wherein the first% x(i) components of column i are one;t = zeros(m,length(x));for i=1:length(x) t(1:x(i),i) = ones(x(i),1);end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?