Mercurial > hg > ltpda
comparison m-toolbox/classes/@ao/findFsMax.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % findFsMax Returns the max Fs of a set of AOs | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: Returns the max Fs of a set of AOs | |
5 % | |
6 % CALL: fsmax = findFsMax(as) | |
7 % | |
8 % VERSION: $Id: findFsMax.m,v 1.7 2009/12/22 22:32:12 mauro Exp $ | |
9 % | |
10 % HISTORY: 14-05-07 M Hewitson | |
11 % Creation | |
12 % | |
13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
14 | |
15 function fs = findFsMax(as) | |
16 | |
17 fs = 0; | |
18 for jj=1:numel(as) | |
19 d = as(jj).data; | |
20 if d.isprop('fs') | |
21 if d.fs > fs | |
22 fs = d.fs; | |
23 end | |
24 end | |
25 end | |
26 | |
27 end | |
28 |