isconst.m

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

M
10
字号
function y=isconst(f,dim)
%ISCONST  True for constant function.
%   ISCONST(F,DIM) returns 1 if F in component DIM is constant
%   and 0 otherwise.
%   F must be of type vector and DIM is an integer from 1 to 3.

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

error(nargchk(2,2,nargin))
y=isconst(vec2sca(f,dim));

⌨️ 快捷键说明

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