gusucode.com > qit_matlab_0.10.0工具箱源码程序 > qit/@lmap/minus.m

    function s = minus(s, t)
% MINUS  Subtraction of lmaps.
%  q = minus(s, t)
%
%  Returns the difference of s and t.

% Ville Bergholm 2010


if (~is_compatible(s, t))
  error('The lmaps are not compatible.');
end

s.data = s.data - t.data;