setsbre1.m

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

M
18
字号
set(subresi_e_h,'String',round(get(subresi_h,'Value')));
%R=get(subresi_h,'Value');
%L=get(subindu_h,'Value');
%C=get(subcapa_h,'Value');
Re=get(subresi_h,'Value')*0.1;
In=get(subindu_h,'Value')*1e-5;
Ca=get(subcapa_h,'Value')*1e-7;
b=1.0/(Re*Ca);
c=1.0/(In*Ca);
d=1.0/Ca;
pole=round(sqrt(c)/(2*pi));
set(pole_e_h,'String',pole);
A = 2*c + 2*d^2 / Re^2 - b^2;
x1 =(A + sqrt(A^2-4*c^2)) / 2.0;
x2 =(A - sqrt(A^2-4*c^2)) / 2.0;
BW =round(abs(sqrt(x1)-sqrt(x2))/(2.0*pi));
set(bw_e_h,'String',BW);

⌨️ 快捷键说明

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