adding compare_fire_area.m
[wrf-fire-matlab.git] / util1_jan / mins.m
blob7b43df565ddc61eb1a233d953fb94b9bc7b32ae9
1 function m=mins(varargin)
2 % minimum of variable number of arrays
3 n=length(varargin);
4 if n==0,
5     m=Inf;
6     return
7 end
8 m=varargin{1};
9 for i=2:n
10     m=min(m,varargin{i});
11 end
12 end
13