Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - PI
Search - PI - List
ASP高级网 t=0:0.0000002:0.0006 % ts=0.2ms 每周期1000点 x1=sin(5000*2*pi.*t) % 生成5KHz的正弦波 b=fir1(9,0.01,hanning(10)) % 采样频率是100KHz,截止频率为500Hz的9阶汉宁窗生成b系数。 freqz(b,1,512,100000) y=filter(b,1,x1) % 对5KHz正弦波用9阶汉宁窗进行滤波 plot(t,x1,t,y) 仿真结果未见到y被衰减的滤波效果。请高手指点。 络变成编程-ASP t = 0:0.0000002 : ts = 0.0006% per period 1000 EMFs point x1 = sin (5000 * 2 * pi. * t)% 5KHz generation of sine wave b = fir1 (9,0.01. HANNING (10))% is 100KHz sampling frequency, As the frequency of 500Hz nine bands Hanning window Generation b coefficient. Freqz (b, 1,512,100000) y = filter (b, a, x1)% to 5KHz sine wave with nine bands Hanning window filtering plot (t, x, t, y) Simulation results were not seen y attenuation of the filter effect. 19:56 guidance. Tongxinluo into programming
Date : 2008-10-13 Size : 69.84kb User : 罗飞腾
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.