log10.m

来自「matlab 多参数积分工具箱 multivariable calculus」· M 代码 · 共 16 行

M
16
字号
function B=log10(A)
%LOG10  Common (base 10) logarithm.
%   LOG10(S) is the base 10 logarithm of the scalar function S.
%   Complex results are produced if S is not positive.
%
%   See also LOG, EXP.

% Copyright (c) 2001-04-17, B. Rasmus Anthin.

B=A;
if isempty(inputname(1))
   B.f=['log10(' A.f ')'];
else
   B.f=['log10(' inputname(1) ')'];
end
B.F=['log10(' A.F ')'];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?