wrls_nz_edit.m

来自「这是一个用于语音信号处理的工具箱」· M 代码 · 共 22 行

M
22
字号
%
% Callback function for "Number of zeros" edit box of WRLS
% Author : Karthik
% Date : July 18 1997



if exist('wrls_an_win_h')
   % Get the value from the edit box
   val=get(wrls_nz_edit_h,'String');
	% Put the string
   set(wrls_nz_slider_h,'Value',eval(val));
   
   %Recalculate the value of vec_length and lambda_min
   wrls_num_zeros = eval(val);
   vec_length = wrls_num_poles + wrls_num_zeros;
   lambda_min = (1-1/vec_length);
   set(wrls_lambda_edit_h,'string',lambda_min);
     
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?