Changeset 446 for trunk/src/uvmat.m


Ignore:
Timestamp:
Jun 11, 2012, 9:33:54 AM (9 years ago)
Author:
sommeria
Message:

series rationalized. TO BE TESTED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r445 r446  
    22902290    end
    22912291    siz=size(UvData.XmlData{1}.Time);
    2292     if siz(1)>=max(num_i1,num_i2) && siz(2)>=max(num_j1,num_j2)
     2292    if ~isempty(num_i1)&& ~isempty(num_i2)&&siz(1)>=max(num_i1,num_i2) && siz(2)>=max(num_j1,num_j2)
    22932293        abstime=(UvData.XmlData{1}.Time(num_i1,num_j1)+UvData.XmlData{1}.Time(num_i2,num_j2))/2;%overset the time read from files
    22942294        dt=(UvData.XmlData{1}.Time(num_i2,num_j2)-UvData.XmlData{1}.Time(num_i1,num_j1));
Note: See TracChangeset for help on using the changeset viewer.