www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepset/isequal.m

    function OK = isequal(S1,S2)
%ISEQUAL Check whether two sweepsets are equal
%
%  ISEQUAL(SS1, SS2) returns true if SS1 is equal to SS2.

%  Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


OK = isequal(size(S1), size(S2)) && issubset(S1,S2);