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

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

?? lpf via z.m

?? 低通濾波器 基于MATLAB的低通濾波器
?? M
字號:
%Run from editor Debug(F5)
%This M file constructs a low pass filter using the Z Transform and
%analyzes the characteristics of the filter such as frequency response and
%phase using the Matlab filter function with input vector x
%to get output y=filter(b,a,x).Frequency domain plots are also provided.
%The z transform is just basically a transformation from a linear system to
%a sampled system.
%The -3dB points of the filter can be set to <100Hz to >1GHz by appropriate
%setting of the sampling frequency(fs) and f. The purpose of constructing this M file was
%instigated by the following facts. I have some knowledge of Laplace
%transforms and the s plane. Someone mentioned using z transforms and I
%said "What is a z transform, that sounds complicated?". Anyway, that's why.
%I have added references at the end of the program that I have found
%helpful and hopefully playing with the program will give you a better
%understanding of the theory. Always remember to set your axis settings on
%plot routines.
%Low pass filter 1 pole 1 zero
%H(z)=z+1/z-p
%zero at -1
%pole at -1<x<1
%
%
%                    Z plane   !+j(imag axis)
%                              !
%                              !
%1 pole & 1 zero (-1)0---------!-------x--(+1)real axis
%                              !
%                              !
%                              !-j
%
%I should note that the H(z)=z/z-p transform also produces a low pass filter
%but is not as efficient as the one shown here. It has a zero at 0 and a
%pole from 0<x<1. It becomes a high pass filter with -1<x<0. You can
%observe this at the JDSP site using the pole-zero demo.

%Design example
%~.45Mhz -3dB point
%fs=1000000
clear
fs=1000000;%sample frequency
%f/fs=.5,f=500000
f=[0:5000:500000];%keep interval steps high for lower 
%computer processing time
Fn=fs/2;%nyquist frequency
w=2*pi*f/fs;%set so w=pi or 3.14
z=exp(w*j);%z definition
p=-.7;%change values for different filter -3dB bandwidths,(-.99 to .99)
gain=.85;%set gain for unity(1) with gain=(1-(p))/2 
Hz=gain*(z+1)./(z-(p));%z transform
%===================================================
%Magnitude and phase plots
%===================================================
figure(1)
subplot(3,1,1), plot(f,abs(Hz))
axis([0 1000000 0 1.5]);
grid on
title('Magnitude Response of H(z)')
ylabel('H(z)-voltage')

subplot(3,1,2);
Hz(Hz==0)=10^(-8);%avoid log(0)
plot(f,20*log10(abs(Hz)));
grid on
ylabel('dB')
axis([0 1000000 -3 1]);

subplot(3,1,3), plot(f,angle(Hz))
grid on
title('Phase Response of H(z)')
ylabel('radians*57.3=degrees')%one radian=57.3 degrees
xlabel('f [Hertz]')
axis([0 1000000 -2 0]);

fc=443000;%carrier frequency(Hz)
T=1/200;%sets span of y filter output plot
%x=A1*(cos(2*pi*fc*t)+phi)(cosine wave)
twopi_fc_t=(1:fs*T)*2*pi*fc/fs; 
A1=1;
phi=0;
x = A1 * cos(twopi_fc_t + phi);

%you could also use a square wave or an impulse signal insteat of a cosine
%wave.
%===============================================
%a and b filter coefficients
%===============================================
a=[1 .7];%(z-(p))
b=[.85 .85];%gain times [1 1)
% ===============================================
%Output y = filter(b,a,x)
% ===============================================
y = filter(b,a,x);
%plot input x and output y
%observe amplitude and phase shift of y compared to x. Will need
%much lower -3dB point filter(say 200Hz) and span to see phase shift. Notice 1Vp(input) to
%.7Vp(output) for -3dB point. Magnitude and phase shift at fc shown in
%command window.
figure(2);
plot(x,'b-'); hold on;
plot(y,'r-');
grid on
title('input x(blue)  /  output y(red)')
ylabel('Voltage')
hold off;

%Magnitude and phase at fc
w=2*pi*fc/fs;
z=exp(w*j);
Hz=gain*(z+1)./(z-(p));
magfc=abs(Hz)
phaseradfc=angle(Hz)
%===================================================
%Frequency domain plots
%====================================================
%Lets take a look at y output on a spectrum analyzer. This fft code is
%somewhat complex but comes from the mathworks. Works great as it shows
%one what they would actually see using a spectrum analyzer.

NFFY=2.^(ceil(log(length(y))/log(2)));
FFTY=fft(y,NFFY);%pad with zeros
NumUniquePts=ceil((NFFY+1)/2); 
FFTY=FFTY(1:NumUniquePts);
MY=abs(FFTY);
MY=MY*2;
MY(1)=MY(1)/2;
MY(length(MY))=MY(length(MY))/2;
MY=MY/length(y);
f1=(0:NumUniquePts-1)*2*Fn/NFFY;

figure(3)
subplot(2,2,1); plot(f1,MY);xlabel('FREQUENCY');ylabel('AMPLITUDE');
axis([0 .5e6 -1 1]);%zoom in/out
grid on;
subplot(2,2,2); plot(f1,10*log10(abs(MY).^2));xlabel('FREQUENCY');ylabel('20LOG10=DB');
axis([0 1e6 -60 5]);
grid on;
%observe that the carrier frequency(fc) is at .7 down -3dB on the plots as one would
%expect.
%References
%http://www.eas.asu.edu/~midle/jdsp/jdsp.html
%This site is one of the best. Log on and use the pole-zero demo and the
%filter demo. I was impressed.

%http://www.ece.uvic.ca/~peter/
%A good site for communication and filter theory and m files. Play close 
%attention to the pdf book notes and student project design of a bandpass 
%filter.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
夜色激情一区二区| 成人一区二区三区中文字幕| 国产日本一区二区| 日韩一区二区三区视频在线 | 韩国一区二区在线观看| 亚洲国产欧美在线| 亚州成人在线电影| 男人操女人的视频在线观看欧美| 五月婷婷久久综合| 看电影不卡的网站| 国产麻豆精品久久一二三| 国产剧情在线观看一区二区| 国产精品1区2区| 粉嫩绯色av一区二区在线观看| 成人综合婷婷国产精品久久蜜臀 | 成人一级片在线观看| 成人一区二区三区中文字幕| 成人av在线电影| 色94色欧美sute亚洲线路一ni | 久久激情五月婷婷| 国产ts人妖一区二区| av动漫一区二区| 欧美色综合天天久久综合精品| 欧美福利电影网| 久久久蜜臀国产一区二区| 亚洲欧洲精品天堂一级| 亚洲一区二区三区四区不卡 | 欧美mv日韩mv国产网站| 国产色91在线| 亚洲成人在线免费| 国产毛片精品一区| 99久久99久久久精品齐齐| 欧美性猛交xxxxxxxx| 26uuu另类欧美亚洲曰本| 亚洲丝袜美腿综合| 美女精品一区二区| 色综合久久久久久久久| 日韩一区二区不卡| 亚洲欧美二区三区| 精品一区二区在线播放| 一本到不卡免费一区二区| 日韩欧美一级在线播放| 亚洲精品va在线观看| 韩国成人精品a∨在线观看| 色婷婷国产精品久久包臀| 精品少妇一区二区三区日产乱码 | 欧美视频在线一区| 日本一区二区三区久久久久久久久不 | 国产精品无人区| 午夜激情一区二区三区| 不卡的看片网站| 精品国产一区二区三区四区四 | 国产成人综合亚洲网站| 欧美日高清视频| 中文字幕视频一区| 狠狠色丁香久久婷婷综| 欧美精品在线观看一区二区| 国产精品污www在线观看| 理论片日本一区| 56国语精品自产拍在线观看| 亚洲激情中文1区| kk眼镜猥琐国模调教系列一区二区| 欧美一级二级在线观看| 午夜精品福利在线| 色老综合老女人久久久| 亚洲桃色在线一区| 国产在线精品不卡| 精品91自产拍在线观看一区| 免费一级片91| 欧美变态tickling挠脚心| 亚洲成人久久影院| 欧美丰满高潮xxxx喷水动漫| 性做久久久久久久久| 欧美日韩午夜精品| 五月综合激情网| 欧美喷潮久久久xxxxx| 亚洲大片免费看| 欧美日韩国产精选| 日韩专区欧美专区| 日韩精品一区二区三区视频播放| 日日摸夜夜添夜夜添国产精品| 欧美人动与zoxxxx乱| 日韩黄色免费电影| 日韩视频免费直播| 精品一区二区在线观看| 久久久久9999亚洲精品| 成人av电影在线观看| 亚洲三级在线观看| 欧美日韩和欧美的一区二区| 午夜成人在线视频| 精品欧美乱码久久久久久1区2区| 久久国产精品色| 日本一区二区综合亚洲| 91国偷自产一区二区三区观看| 亚洲国产视频网站| 精品久久久久久久久久久久久久久 | 91精品国产色综合久久久蜜香臀| 蜜臀av一区二区在线观看| 欧美刺激脚交jootjob| 国产成人亚洲精品青草天美| 中文字幕一区二区三| 69堂精品视频| 国产精品亚洲人在线观看| 国产精品久久99| 欧美日韩成人高清| 国产精一区二区三区| 亚洲黄色免费网站| 日韩欧美一级二级| 91在线视频官网| 免费高清在线一区| 亚洲欧美日韩在线播放| 日韩视频在线你懂得| 99综合电影在线视频| 日本女优在线视频一区二区| 国产精品视频yy9299一区| 欧美久久高跟鞋激| 99精品在线观看视频| 精品一区二区三区蜜桃| 亚洲国产成人高清精品| 国产蜜臀av在线一区二区三区| 欧美午夜一区二区| 国产suv一区二区三区88区| 午夜精彩视频在线观看不卡| 国产精品美女一区二区三区| 日韩一区二区三| 日本伦理一区二区| 国产精品一区三区| 日韩精品国产精品| 亚洲精品成人精品456| 亚洲国产成人在线| 精品国产91洋老外米糕| 欧美日韩国产乱码电影| 色域天天综合网| 成人av在线影院| 国产福利一区在线观看| 日韩精品电影一区亚洲| 亚洲一区精品在线| 国产精品成人免费精品自在线观看| 欧美电影免费提供在线观看| 欧美午夜寂寞影院| 色综合久久中文综合久久97| 丁香婷婷综合网| 国产一区二区三区电影在线观看 | 亚洲一区视频在线观看视频| 久久九九久精品国产免费直播| 日韩精品一区二区三区在线| 欧美精品一二三| 欧美精品tushy高清| 欧美影视一区二区三区| 91九色最新地址| 色婷婷精品大视频在线蜜桃视频| 99re视频这里只有精品| 99麻豆久久久国产精品免费优播| 成人综合婷婷国产精品久久免费| 丁香网亚洲国际| 成人深夜视频在线观看| 成人性生交大片| 99视频在线精品| 色欧美片视频在线观看在线视频| av中文字幕在线不卡| 91蜜桃在线免费视频| 色av一区二区| 69堂国产成人免费视频| 欧美成人vr18sexvr| 久久天天做天天爱综合色| 久久免费看少妇高潮| 国产精品久久久久久亚洲伦| 中文字幕在线不卡| 夜夜嗨av一区二区三区网页| 亚洲自拍偷拍网站| 三级在线观看一区二区| 久久国内精品自在自线400部| 国产成人在线视频网址| 97精品久久久午夜一区二区三区 | 国产亚洲成年网址在线观看| 久久精品男人的天堂| 亚洲欧美乱综合| 亚洲超碰精品一区二区| 国内成人精品2018免费看| 成人av中文字幕| 欧美丰满高潮xxxx喷水动漫| 日韩免费电影网站| 国产精品成人午夜| 午夜视黄欧洲亚洲| 国产传媒一区在线| 欧美在线小视频| 欧美精品一区二区三区四区| 亚洲欧美日韩国产综合在线| 人禽交欧美网站| a亚洲天堂av| 欧美成人免费网站| 亚洲美女视频在线| 韩国av一区二区| 欧美图区在线视频| 欧美国产精品专区| 天天综合色天天| 波多野结衣在线一区| 欧美变态凌虐bdsm| 亚洲一区在线免费观看| 丁香五精品蜜臀久久久久99网站|