view m-toolbox/classes/@ao/findFsMax.m @ 43:bc767aaa99a8
CVS Update
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Tue, 06 Dec 2011 11:09:25 +0100 (2011-12-06)
parents
f0afece42f48
children
line source
+ − % findFsMax Returns the max Fs of a set of AOs
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ − %
+ − % DESCRIPTION: Returns the max Fs of a set of AOs
+ − %
+ − % CALL: fsmax = findFsMax(as)
+ − %
+ − % VERSION: $Id: findFsMax.m,v 1.7 2009/12/22 22:32:12 mauro Exp $
+ − %
+ − % HISTORY: 14-05-07 M Hewitson
+ − % Creation
+ − %
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ −
+ − function fs = findFsMax(as)
+ −
+ − fs = 0;
+ − for jj=1:numel(as)
+ − d = as(jj).data;
+ − if d.isprop('fs')
+ − if d.fs > fs
+ − fs = d.fs;
+ − end
+ − end
+ − end
+ −
+ − end
+ −