eq.m

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

M
12
字号
function y=eq(A,B)
%==  Equal.
%   V == W does a comparison between the vector functions
%   V and W and returns 1 if the relation is true and 0 if it is not.

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

A=vector(A);
B=vector(B);
y=vec2sca(A,1)==vec2sca(B,1) &...
   vec2sca(A,2)==vec2sca(B,2) &...
   vec2sca(A,3)==vec2sca(B,3);

⌨️ 快捷键说明

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