Changeset 170 for trunk/src/get_field/filter_band.m
- Timestamp:
- Jan 4, 2011, 7:45:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_field/filter_band.m
r36 r170 1 % 'filter_band.m': plot a field after band filtering in the GUI get_field 2 % GUI_input=filter_band(hget_field) 3 % 4 % OUTPUT: 5 % GUI_input: option for display in the GUI get_field 6 % 7 %INPUT: 8 % hget_field: handles of the GUI get_field 9 % 1 10 function filter_band(Field,hget_field) 2 11 … … 10 19 lineNo=1; 11 20 answer=inputdlg(prompt,dlgTitle,lineNo,def); 12 period=round(str2num(answer{1})) 21 period=round(str2num(answer{1})); 13 22 filt_vector=ones(1,period)/period;% averaging vector 14 VarName_y=Field.ListVarName(VarIndex.y) 23 VarName_y=Field.ListVarName(VarIndex.y); 15 24 % hfig 16 25 if isempty(str2num(hfig))
Note: See TracChangeset
for help on using the changeset viewer.