3ca079a980
- 中文目录名改为英文:cDNA图像处理实例→examples,参考资料→references - web→app(Flask应用标准命名) - 输出目录平移到 data/output/simple/ 和 data/output/full/ - 输入图像统一到 data/input/ - 构建脚本移到 scripts/ - 源码文件改用 snake_case 命名 - 更新所有文件路径引用和文档
14 lines
251 B
Matlab
14 lines
251 B
Matlab
function r=range(x)
|
|
%RANGE Returns the range of data values.
|
|
% R = RANGE(X)
|
|
|
|
% Copyright 2004-2010 RBemis The MathWorks, Inc.
|
|
|
|
if nargin~=1 || nargout>1, error('USAGE: r=range(x)'), end
|
|
|
|
if nargout>0
|
|
r=diff(limits(x));
|
|
else
|
|
diff(limits(x))
|
|
end
|