Changeset 326 for trunk/src/civ.m
- Timestamp:
- Dec 8, 2011, 8:28:38 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r325 r326 4396 4396 [Data,errormsg]=civ_matlab(Param);% get the grid of x, y positions set for PIV 4397 4397 if ~isempty(errormsg) 4398 msgbox_uvmat('ERROR', Data.Txt)4398 msgbox_uvmat('ERROR',errormsg) 4399 4399 return 4400 4400 end … … 4403 4403 Data.Civ1_V_Diff=Data.Civ1_V_Diff(Data.Civ1_FF==0); 4404 4404 DiffVel(irho)=sqrt(mean(Data.Civ1_U_Diff.*Data.Civ1_U_Diff+Data.Civ1_V_Diff.*Data.Civ1_V_Diff)) 4405 NbSites(irho)=Data.Civ1_NbSites/numel(Data.Civ1_U_Diff); 4405 4406 Param.Patch1.SmoothingParam=2*Param.Patch1.SmoothingParam; 4406 4407 end 4407 4408 figure 4408 plot(SmoothingParam,DiffVel )4409 plot(SmoothingParam,DiffVel,'b',SmoothingParam,NbSites,'r') 4409 4410 set(handles.TestPatch1,'BackgroundColor',[1 0 0]) 4410 4411 else
Note: See TracChangeset
for help on using the changeset viewer.