Changeset 867 for trunk/src/calc_field_tps.m
- Timestamp:
- Feb 12, 2015, 9:31:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/calc_field_tps.m
r866 r867 105 105 VarAttribute=[VarAttribute VarAttributeNew]; 106 106 end 107 Attr_FF.Role='errorflag';108 VarAttribute=[VarAttribute {Attr_FF}];107 %Attr_FF.Role='errorflag'; 108 %VarAttribute=[VarAttribute {Attr_FF}]; 109 109 FieldName(check_remove)=[]; 110 110 … … 160 160 end 161 161 end 162 DataOut.FF=nbval==0; %put errorflag to 1 for points outside the interpolation rang163 nbval(nbval==0)= 1;% to avoid division by zero for averaging162 %DataOut.FF=nbval==0; %put errorflag to 1 for points outside the interpolation rang 163 nbval(nbval==0)=NaN;% to avoid division by zero for averaging 164 164 ListFieldOut=fieldnames(DataOut); 165 165 for ifield=1:numel(ListFieldOut)
Note: See TracChangeset
for help on using the changeset viewer.