www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepsetfilter/reorderResamplings.m
function obj = reorderResamplings(obj, index) %REORDERRESAMPLINGS Reorder the sampling expressions in an SSF % % SSF = REORDERRESAMPLINGS(SSF, INDEX) reorders the resampling % expressions. The reorder is in the sense B = A(INDEX), where A is the % old resampling expression order and B is the new. % % See also SWEEPSETFILTER, SWEEPSETFILTER/ADDRESAMPLING, % SWEEPSETFILTER/MODIFYRESAMPLING, SWEEPSETFILTER/REMOVERESAMPLING. % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.resampling.OK = false; obj.resampling.result = ''; obj.resampling.resampleExp = obj.resampling.resampleExp(index); obj.resampling.varNames = obj.resampling.varNames(index); obj = updateResampling( obj );