?? plus.m
字號:
function M = plus(M,a)
% Add a constant to the image of a diskmap (i.e., translate image).
% Copyright (c) 1998 by Toby Driscoll.
% $Id: plus.m 35 1998-06-29 23:02:02Z tad $
% May need to swap arguments
if isa(M,'double') & isa(a,'diskmap')
tmp = M;
M = a;
a = tmp;
end
if length(a)==1 & isa(a,'double')
M.center = M.center + a;
M.scmap = M.scmap + a;
else
error('Addition is not defined for these operands.')
end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -