filter_prod.pro

来自「IDL语言编写的用于天文自适应光学仿真的软件CAOS V6.0的第一部分。」· PRO 代码 · 共 29 行

PRO
29
字号
; $Id: filter_prod.pro,v 1.2 2002/03/14 11:49:12 riccardi Exp $pro filter_prod, c_num_p, c_den_p, freq, input_tf, $output_tf=output_tf, LOG=log, HI2LOW=hi2lowif keyword_set(hi2low) then begin	c_num=rotate(c_num_p,2) 	c_den=rotate(c_den_p,2) endif else begin	c_num=c_num_p	c_den=c_den_pendelsefilter_tf = poly(2*!pi*complex(0,1)*freq, c_num)/ $			poly(2*!pi*complex(0,1)*freq, c_den)pmulti_save = !p.multi!p.multi = [0,1,2]output_tf=filter_tf*input_tfplot_oo, freq, abs(output_tf), xtitle='Frequency [Hz]', ytitle='bitC/bitP'plot_oi, freq, imaginary(alog(output_tf))*180/!pi, xtitle='Frequency [Hz]',$								ytitle='Phase [deg]'!p.multi=pmulti_save!p.multi(0)=0returnend

⌨️ 快捷键说明

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