亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? adaptfxlmsdemo.m

?? 自適應濾波器 采用改進的rls算法 LMS 算法
?? M
字號:
%% Active Noise Control Using a Filtered-X LMS FIR Adaptive Filter.% This demonstration illustrates the application of adaptive filters to the% attenuation of acoustic noise via active noise control.%%   Author(s): Scott C. Douglas%   Copyright 1999-2005 The MathWorks, Inc.%% Active Noise Control% In active noise control, one attempts to reduce the volume of an unwanted% noise propagating through the air using an electro-acoustic system using% measurement sensors such as microphones and output actuators such as% loudspeakers.  The noise signal usually comes from some device, such as a% rotating machine, so that it is possible to measure the noise near its% source. The goal of the active noise control system is to produce an% "anti-noise" that attenuates the unwanted noise in a  desired quiet% region using an adaptive filter.  This problem differs from traditional% adaptive noise cancellation in that:%        - The desired response signal cannot be directly measured; %          only the attenuated signal is available.%        - The active noise control system must take into account the%          secondary loudspeaker-to-microphone error path in its %          adaptation.%% For more implementation details on active noise control tasks, see% S.M. Kuo and D.R. Morgan, "Active Noise Control Systems:  Algorithms% and DSP Implementations",  Wiley-Interscience, New York, 1996.%% The Secondary Propagation Path% The secondary propagation path is the path the anti-noise takes from% the output loudspeaker to the error microphone within the quiet zone.% The following commands generate a loudspeaker-to-error microphone% impulse response that is bandlimited to the range 160 - 2000 Hz and% with a filter length of 0.1 seconds. For this active noise control task, % we shall use a sampling frequency of 8000 Hz.Fs = 8000;N = 800;delayS = 7;Fd = fdesign.bandpass('N,Fst1,Fst2,Ast',8,0.04,0.5,20);Hd = design(Fd,'cheby2','FilterStructure','df2tsos');H = filter(Hd,[zeros(1,delayS) log(0.99*rand(1,N-delayS)+0.01).* ...    sign(randn(1,N-delayS)).*exp(-0.01*(1:N-delayS))]);H = H/norm(H);t = 1/Fs:1/Fs:N/Fs;plot(t,H,'b');xlabel('Time [sec]');ylabel('Coefficient value');title('True Secondary Path Impulse Response');%% Estimating the Secondary Propagation Path% The first task in active noise control is to estimate the impulse% response of the secondary propagation path.  This step is usually % performed prior to noise control using a synthetic random signal played % through the output loudspeaker while the unwanted noise is not present. % The following commands generate 3.75 seconds of this random noise as well % as the measured signal at the error microphone.  ntrS = 30000;s = randn(1,ntrS);dS = filter(H,1,s) + 0.01*randn(1,ntrS);%% Designing the Secondary Propagation Path Estimate% Typically, the length of the secondary path filter estimate is not as% long as the actual secondary path and need not be for adequate control% in most cases.  We shall use a secondary path filter length of 250% taps, corresponding to an impulse response length of 31 msec. % While any adaptive FIR filtering algorithm could be used for this % purpose, the normalized LMS algorithm is often used due to its % simplicity and robustness. Plots of the output and error signals show% that the algorithm converges after about 10000 iterations.M = 250;muS = 0.1; offsetS = 0.1;h = adaptfilt.nlms(M,muS,1,offsetS);[yS,eS] = filter(h,s,dS);n = 1:ntrS;plot(n,dS,n,yS,n,eS);xlabel('Number of iterations');ylabel('Signal value');title('Secondary Identification Using the NLMS Adaptive Filter');legend('Desired Signal','Output Signal','Error Signal');%% Accuracy of the Secondary Path Estimate% How accurate is the secondary path impulse response estimate?  This% plot shows the coefficients of both the true and estimated path.% Only the tail of the true impulse response is not estimated % accurately.  This residual error does not significantly harm the% performance of the active noise control system during its operation% in the chosen task. Hhat = h.Coefficients;plot(t,H,t(1:M),Hhat,t,[H(1:M)-Hhat(1:M) H(M+1:N)]);xlabel('Time [sec]');ylabel('Coefficient value');title('Secondary Path Impulse Response Estimation');legend('True','Estimated','Error');%% The Primary Propagation Path% The propagation path of the noise to be cancelled can also be% characterized by a linear filter.  The following commands% generate an input-to-error microphone impulse response that is% bandlimited to the range 200 - 800 Hz and has a filter length of % 0.1 seconds.delayW = 15;Fd2 = fdesign.bandpass('N,Fst1,Fst2,Ast',10,0.05,0.2,20);Hd2 = design(Fd2,'cheby2','FilterStructure','df2tsos');G = filter(Hd2,[zeros(1,delayW) log(0.99*rand(1,N-delayW)+0.01).*...    sign(randn(1,N-delayW)).*exp(-0.01*(1:N-delayW))]);G = G/norm(G);plot(t,G,'b');xlabel('Time [sec]');ylabel('Coefficient value');title('Primary Path Impulse Response');%% The Noise to be Cancelled% Typical active noise control applications involve the sounds of% rotating machinery due to their annoying characteristics.  Here,% we have synthetically generated 7.5 seconds of a noise that % might come from a typical electric motor.  Listening to its sound % at the error microphone before cancellation, it has the characteristic % industrial "whine" of such motors.  The spectrum of the sound% is also plotted.  ntrW = 60000;F0 = 60;n = 1:ntrW;A = [0.01 0.01 0.02 0.2 0.3 0.4 0.3 0.2 0.1 0.07 0.02 0.01];x = zeros(1,ntrW);for k=1:length(A);    x = x + A(k)*sin(2*pi*(F0*k/Fs*n+rand(1)));endd = filter(G,1,x) + 0.1*randn(1,ntrW);Hp = spectrum.welch; Hp.SegmentLength = 4444;Hp.FFTLength='UserDefined';Pd = psd(Hp,d(ntrW-20000:ntrW),'NFFT',8192,'Fs',Fs);plot(Pd)axis([0 2 -70 0]);title('Power Spectral Density of the Noise to be Cancelled');p8K = audioplayer(d/max(abs(d)),Fs);playblocking(p8K);%% Active Noise Control using the filtered-X LMS Algorithm% The most popular adaptive algorithm for active noise control is% the filtered-X LMS algorithm.  This algorithm uses the secondary% path estimate to calculate an output signal whose contribution% at the error sensor destructively interferes with the undesired% noise.  The reference signal is a noisy version of the undesired% sound measured near its source.  We shall use a controller filter% length of about 44 msec and a step size of 0.0001 for these% signal statistics.  The resulting algorithm converges after about% 5 seconds of adaptation. Listening to the error signal, the % annoying "whine" is reduced considerably.  xhat = x + 0.1*randn(1,ntrW);L = 350;muW = 0.0001;h = adaptfilt.filtxlms(L,muW,1,Hhat);[y,e] = filter(h,xhat,d);plot(n,d,'b',n,y,'g',n,e,'r');xlabel('Number of iterations');ylabel('Signal value');tstr = ['Active Noise Control Using', ...    ' the Filtered-X LMS Adaptive Controller'];title(tstr);legend('Original Noise','Anti-Noise','Residual Noise');p8K = audioplayer(e/max(abs(e)),Fs);playblocking(p8K);%% Residual Error Signal Spectrum% Comparing the spectrum of the residual error signal with that of the% original noise signal, we see that most of the periodic components % have been attenuated considerably.  The steady-state cancellation % performance may not be uniform across all frequencies, however.  % Such is often the case for real-world systems applied to active noise % control tasks.Pe = psd(Hp,e(ntrW-20000:ntrW),'NFFT',8192,'Fs',Fs);plot(Pd.Frequencies,10*log10(Pd.Data(:,1)),'b',...    Pe.Frequencies,10*log10(Pe.Data(:,1)),'r');axis([0 2000 -70 0]);grid onxlabel('Frequency (Hz)');ylabel('Power/frequency (dB/Hz)');tstr = ['Power Spectral Density of the', ...    ' Original and Attenuated Noise'];title(tstr);legend('Original','Attenuated');displayEndOfDemoMessage(mfilename)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久不卡网国产精品一区| 日韩制服丝袜先锋影音| 亚洲国产毛片aaaaa无费看| 国产呦萝稀缺另类资源| 欧美亚洲精品一区| 国产精品久久久久久久岛一牛影视| 日韩精品欧美精品| 在线观看网站黄不卡| 国产欧美日韩久久| 国产一区二区三区免费| 欧美日高清视频| 亚洲精选一二三| youjizz久久| 中文在线一区二区| 国产在线视频一区二区| 日韩视频免费观看高清完整版| 亚洲综合色噜噜狠狠| 色婷婷一区二区| 中文字幕永久在线不卡| 国产.欧美.日韩| 久久精品一区二区三区av| 久久99久久99| 精品国产伦一区二区三区观看体验| 亚洲超丰满肉感bbw| 色哟哟国产精品| 亚洲另类在线一区| 91久久免费观看| 亚洲欧洲av一区二区三区久久| 国产福利一区二区三区| 久久精品亚洲乱码伦伦中文| 国产乱子轮精品视频| 欧美r级电影在线观看| 久久99精品久久久久久动态图| 欧美一区二区三区在线| 毛片av一区二区| 日韩女同互慰一区二区| 精品午夜一区二区三区在线观看| 欧美tk丨vk视频| 国产成人在线免费| 国产精品视频第一区| 91麻豆国产在线观看| 一级日本不卡的影视| 欧美巨大另类极品videosbest| 日本欧美加勒比视频| 精品国产人成亚洲区| 国产精品一区免费视频| 国产精品免费av| 在线观看免费成人| 蜜臀av亚洲一区中文字幕| www久久精品| 成人av第一页| 天天综合色天天综合色h| 欧美电影免费观看高清完整版在| 国产美女在线观看一区| 亚洲图片欧美激情| 91精品国产免费| 成人在线视频一区二区| 一区二区三区在线观看动漫| 91精品国产高清一区二区三区| 国产露脸91国语对白| 亚洲精品视频免费看| 日韩美女天天操| www.亚洲国产| 日本vs亚洲vs韩国一区三区 | 欧美一区二区三区小说| 久久超级碰视频| 综合激情成人伊人| 日韩欧美一区二区久久婷婷| 成人免费毛片app| 日韩精品一级中文字幕精品视频免费观看 | 成人国产亚洲欧美成人综合网 | 欧美日韩午夜在线视频| 激情深爱一区二区| 亚洲福利视频三区| 国产精品五月天| 日韩视频在线你懂得| 欧亚一区二区三区| 成人黄色软件下载| 国产一区二区三区四区在线观看| 一区二区三区精品在线观看| 久久久久久一二三区| 欧美久久久久久久久中文字幕| av一区二区不卡| 国产在线精品一区二区夜色| 亚洲国产精品视频| 亚洲色图在线看| 国产精品婷婷午夜在线观看| 欧美一级片在线看| 欧美午夜免费电影| 99视频有精品| 成人精品一区二区三区中文字幕| 蜜臀a∨国产成人精品| 亚洲视频狠狠干| 亚洲国产精品精华液2区45| 日韩一区和二区| 欧美日韩另类国产亚洲欧美一级| 91碰在线视频| 成人av在线网| 不卡一区二区中文字幕| 国产91丝袜在线播放| 韩国v欧美v日本v亚洲v| 另类小说视频一区二区| 日韩和欧美一区二区三区| 亚洲一区免费视频| 一级特黄大欧美久久久| 一区二区三区小说| 亚洲精品视频在线观看免费| 国产精品福利在线播放| 亚洲视频你懂的| 亚洲激情第一区| 亚洲一区二区视频| 一区二区在线观看av| 亚洲三级免费电影| 亚洲综合在线第一页| 亚洲国产精品久久不卡毛片| 亚洲二区在线观看| 天天影视涩香欲综合网| 免费成人在线视频观看| 麻豆极品一区二区三区| 国产精品一区免费视频| 丁香五精品蜜臀久久久久99网站| 成人av手机在线观看| 99精品偷自拍| 欧美在线色视频| 在线播放欧美女士性生活| 欧美一级一区二区| 久久久91精品国产一区二区三区| 国产精品私人自拍| 最近日韩中文字幕| 五月激情综合婷婷| 久久99最新地址| 99久久99久久综合| 欧美天堂一区二区三区| 欧美一激情一区二区三区| 精品入口麻豆88视频| 国产精品传媒在线| 亚洲va欧美va人人爽| 国内精品免费在线观看| av在线不卡免费看| 91麻豆精品国产91久久久| 久久久久国产精品人| 亚洲免费毛片网站| 美腿丝袜一区二区三区| 成人av电影在线| 欧美一级在线视频| 国产精品成人免费在线| 日韩精品视频网站| 成人白浆超碰人人人人| 欧美精选一区二区| 国产精品盗摄一区二区三区| 日韩在线a电影| 成人激情免费电影网址| 777午夜精品免费视频| 国产精品国产三级国产专播品爱网| 性欧美大战久久久久久久久| 国产一区二区伦理片| 在线观看国产日韩| 中文幕一区二区三区久久蜜桃| 婷婷中文字幕综合| 91在线播放网址| xfplay精品久久| 日本亚洲欧美天堂免费| 色综合天天综合给合国产| 精品国产露脸精彩对白| 亚洲一区二区三区激情| 成人激情电影免费在线观看| 日韩西西人体444www| 亚洲第一主播视频| 色综合中文字幕国产 | 久久亚洲捆绑美女| 亚洲成人一区二区| 91浏览器入口在线观看| 久久午夜色播影院免费高清| 日日夜夜一区二区| 色先锋资源久久综合| 中文字幕av一区二区三区免费看| 久草这里只有精品视频| 欧美一区二区久久| 午夜精品久久久久久久| 91色九色蝌蚪| 亚洲日本va在线观看| 粉嫩aⅴ一区二区三区四区 | 成人app在线| 久久精品人人做| 国内成人免费视频| 精品成人在线观看| 精品写真视频在线观看| 日韩女优av电影在线观看| 免费人成黄页网站在线一区二区| 色婷婷久久久久swag精品| 亚洲色大成网站www久久九九| 国产·精品毛片| 国产精品看片你懂得 | 国产成人小视频| 久久久亚洲综合| 国产精品一区一区| 国产精品嫩草影院com| av影院午夜一区| 亚洲另类春色校园小说| 日本高清不卡在线观看|