Changeset 643 for trunk/src/get_file_series.m
- Timestamp:
- May 23, 2013, 12:33:52 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_series.m
r639 r643 70 70 if isempty(incr_i) 71 71 if isempty(first_j) || isempty(incr_j) % no j index or no defined increment for j 72 [ref_j,ref_i]=find(i1_series{iview}); 72 ref_j=find(max(i1_series{iview},[],2)); 73 ref_i=find(max(i1_series{iview},[],1)); 73 74 ref_i=ref_i-1; 74 75 ref_j=ref_j-1; … … 77 78 else 78 79 ref_j=first_j:incr_j:last_j; 79 [tild,ref_i]=find(i1_series{iview}(:,ref_j));80 ref_i=find(max(i1_series{iview}(:,ref_j),[],1)); 80 81 ref_i=ref_i-1; 81 82 ref_i=ref_i(ref_i>=first_i & ref_i<=last_i); … … 84 85 ref_i=first_i:incr_i:last_i;%default 85 86 if isempty(first_j) ||isempty(incr_j)% no j index or no defined increment for j 86 [ref_j,tild]=find(i1_series{iview});87 ref_j=find(max(i1_series{iview},[],2)); 87 88 ref_j=ref_j-1; 88 89 ref_j=ref_j(ref_j>=first_j & ref_j<=last_j);
Note: See TracChangeset
for help on using the changeset viewer.