📄 aux_get_filt_info.m
字号:
function scales = aux_get_filt_info (field_names)% FUNCTION scales = aux_get_filt_info (field_names)%% In several occasions, we need to obtain the scales stored in the% fieldnames of filters. For example, if fieldnames(f) returned% 'f1_s1', 'f1_s2', 'f1_s4', and other field names, this function% will return [1 2 4].% There are 7 different kinds of fieldnames % (f1_s?, f2_s?, size_s?, i1_s?, i2_s?, i3_s?, shift_s?).% Therefore, number of fields for each scale is 7.num_fields = 7; f_names = char(field_names);% Read every 7 fields (1:num_fields:end).% The scale number starts from the 5th letter (____? = f1_s?).scales = str2num(f_names(1:num_fields:end, 5:end));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -