📄 fr_ma.m
字号:
%
% Callback function for MA button in the Frequency Analysis window
% Author : Minkyu Lee
% Date : 27-Feb-1995
% Modified by Karthik May 27 1997
% Modified by D. G. Childers
freq_ma_mark_flag=0;
ma_frame_len=2^8;
ma_window=1;
PV=[2 265 285 105];
s2 = 'Moving Average Analysis';
% Open analysis window
while exist('freq_ma_win_h')==1
try1 = 'get(freq_ma_win_h,''position'');';
eval(try1,catch2);
if check ==0
clear freq_ma_win_h;
check = 1;
break;
end
s1 = get(freq_ma_win_h,'Name');
if ~strcmp(s1,s2)
clear freq_ma_win_h;
break;
end
figure(freq_ma_win_h);
break;
end;
if exist('freq_ma_win_h')~=1;
freq_ma_win_h=figure('Position',PV,...
'Resize','on',...
'Numbertitle','off',...
'color',BACK_COLOR,...
'Name',s2);
ma_po_method_h=uicontrol('Style','pushbutton',...
'Position',[10 70 130 30],...
'String','Durbin''s method',...
'Callback','ma_go');
ma_pb_prop_h=uicontrol('Style','pushbutton',...
'Position',[150 70 130 30],...
'String','Property',...
'Callback','ma_pr');
ma_pb_save_h=uicontrol('Style','pushbutton',...
'Position',[10 20 130 30],...
'String','Save(ascii)',...
'Callback','lp_ma_arma_sa');
ma_pb_ok_h=uicontrol('Style','pushbutton',...
'Position',[150 20 130 30],...
'String','Cancel',...
'Callback','fr_an_ok');
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -