Mercurial > hg > ltpda
comparison m-toolbox/classes/@ao/findFsMin.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 % findFsMin Returns the min Fs of a set of AOs | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: Returns the min Fs of a set of AOs | |
5 % | |
6 % CALL: fsmin = findFsMin(as) | |
7 % | |
8 % VERSION: $Id: findFsMin.m,v 1.3 2009/12/22 22:32:12 mauro Exp $ | |
9 % | |
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
11 | |
12 function fs = findFsMin(as) | |
13 | |
14 fs = realmax; | |
15 for jj=1:numel(as) | |
16 d = as(jj).data; | |
17 if d.isprop('fs') | |
18 if d.fs < fs | |
19 fs = d.fs; | |
20 end | |
21 end | |
22 end | |
23 | |
24 end | |
25 |