Changeset 498 for trunk/src/read_civxdata.m
- Timestamp:
- Jul 23, 2012, 8:44:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_civxdata.m
r472 r498 156 156 Field.Y=Field.Y*Field.pixcmy; 157 157 end 158 if ~isequal(Field. dt,0)159 Field.U=Field.U*Field. dt;%translate in px displacement160 Field.V=Field.V*Field. dt;158 if ~isequal(Field.Dt,0) 159 Field.U=Field.U*Field.Dt;%translate in px displacement 160 Field.V=Field.V*Field.Dt; 161 161 if isfield(Field,'DjUi') 162 Field.DjUi(:,1,1)=Field. dt*Field.DjUi(:,1,1);163 Field.DjUi(:,2,2)=Field. dt*Field.DjUi(:,2,2);164 Field.DjUi(:,1,2)=(Field.pixcmy/Field.pixcmx)*Field. dt*Field.DjUi(:,1,2);165 Field.DjUi(:,2,1)=(Field.pixcmx/Field.pixcmy)*Field. dt*Field.DjUi(:,2,1);162 Field.DjUi(:,1,1)=Field.Dt*Field.DjUi(:,1,1); 163 Field.DjUi(:,2,2)=Field.Dt*Field.DjUi(:,2,2); 164 Field.DjUi(:,1,2)=(Field.pixcmy/Field.pixcmx)*Field.Dt*Field.DjUi(:,1,2); 165 Field.DjUi(:,2,1)=(Field.pixcmx/Field.pixcmy)*Field.Dt*Field.DjUi(:,2,1); 166 166 end 167 167 end
Note: See TracChangeset
for help on using the changeset viewer.