gusucode.com > symbolic工具箱matlab源码程序 > symbolic/@sym/rem.m

    function C = rem(A,B)
%REM    Symbolic remainder after division.
%   REM(x,y) is x - n.*y where n = fix(x./y) if y ~= 0.  If y is not an
%   integer and the quotient x./y is within roundoff error of an integer,
%   then n is that integer. The inputs x and y must be real arrays of the
%   same size, or real scalars.
% 
%   See also SYM/MOD.
    
%   Copyright 2009-2014 The MathWorks, Inc.

C = privBinaryOp(A, B, 'symobj::zip', 'rem');