Mercurial > hg > camir-aes2014
annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/mirattacks.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 function varargout = mirattacks(orig,varargin) |
wolffd@0 | 2 % Obsolete function, replaced by mironsets(...,'Attacks',...) |
wolffd@0 | 3 |
wolffd@0 | 4 aver.key = 'Smooth'; |
wolffd@0 | 5 aver.type = 'Integer'; |
wolffd@0 | 6 aver.default = 20; |
wolffd@0 | 7 option.aver = aver; |
wolffd@0 | 8 |
wolffd@0 | 9 specif.option = option; |
wolffd@0 | 10 |
wolffd@0 | 11 varargout = mirfunction(@mirattacks,orig,varargin,nargout,specif,@init,@main); |
wolffd@0 | 12 |
wolffd@0 | 13 |
wolffd@0 | 14 function [x type] = init(x,option) |
wolffd@0 | 15 x = mironsets(x,'Attack',option.aver); |
wolffd@0 | 16 type = mirtype(x); |
wolffd@0 | 17 |
wolffd@0 | 18 |
wolffd@0 | 19 function a = main(a,option,postoption) |