cmgamdef.m
来自「有关matlab的电子书籍有一定的帮助希望有用」· M 代码 · 共 23 行
M
23 行
function gtable = cmgamdef(c)
%CMGAMDEF Default gamma correction table.
% CMGAMDEF('computer') returns the default gamma correction
% table for the computer in the string computer. See the
% function COMPUTER for possiblities. CMGAMDEF is called
% by CMGAMMA.
%
% CMGAMDEF returns the default gamma correction table for
% the computer currently running MATLAB.
%
% See also CMGAMMA, COMPUTER.
% Clay M. Thompson 1-19-93
% Copyright 1993-1998 The MathWorks, Inc. All Rights Reserved.
% $Revision: 5.4 $ $Date: 1997/11/24 15:34:13 $
if nargin == 0, c = computer; end
if ~isstr(c), error('Input argument must be a string.'); end
% Note: the gtable can have any number of rows. See TABLE1 and
% CMGAMMA for details.
gtable = [0:.05:1]'*ones(1,4);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?