view m-toolbox/classes/@ao/findFsMin.m @ 1:2014ba5b353a database-connection-manager

Remove old code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Sat, 03 Dec 2011 18:13:55 +0100
parents f0afece42f48
children
line wrap: on
line source

% findFsMin Returns the min Fs of a set of AOs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: Returns the min Fs of a set of AOs
%
% CALL:        fsmin = findFsMin(as)
%
% VERSION:     $Id: findFsMin.m,v 1.3 2009/12/22 22:32:12 mauro Exp $
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function fs = findFsMin(as)

  fs = realmax;
  for jj=1:numel(as)
    d = as(jj).data;
    if d.isprop('fs')
      if d.fs < fs
        fs = d.fs;
      end
    end
  end

end