?? gain.m
字號:
function [g,w] = gain(num,den)% Computes the gain function in dB of a % transfer function at 256 equally spaced points % on the unit circle% Numerator coefficients are in vector num% Denominator coefficients are in vector den% Frequency values are returned in vector w% Gain values are returned in vector gw = 0:pi/255:pi;h = freqz(num,den,w);g = 20*log10(abs(h));
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -