annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/mirattacks.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 function varargout = mirattacks(orig,varargin)
Daniel@0 2 % Obsolete function, replaced by mironsets(...,'Attacks',...)
Daniel@0 3
Daniel@0 4 aver.key = 'Smooth';
Daniel@0 5 aver.type = 'Integer';
Daniel@0 6 aver.default = 20;
Daniel@0 7 option.aver = aver;
Daniel@0 8
Daniel@0 9 specif.option = option;
Daniel@0 10
Daniel@0 11 varargout = mirfunction(@mirattacks,orig,varargin,nargout,specif,@init,@main);
Daniel@0 12
Daniel@0 13
Daniel@0 14 function [x type] = init(x,option)
Daniel@0 15 x = mironsets(x,'Attack',option.aver);
Daniel@0 16 type = mirtype(x);
Daniel@0 17
Daniel@0 18
Daniel@0 19 function a = main(a,option,postoption)