function Scut=coralTimeAlign(S); %DESCRIPTION %Scut=coralTimeAlign(S); % %This function takes a coral structure and all of the corresponding start %times, finds their overlap, and returns the aligned structure. %The only input argument is the structure S. % %INPUT: coral structure %OUTPUT: coral structure containing data temporally common to all %seismograms. % %NOTE: This function uses coralCut. % % Josh Carmichael, 14.Aug.2007 %% % GET MAX START TIME [sM,sN]=size(S); if(sM