我来我网
https://5come5.cn
您尚未
登录
注册
|
菠菜
|
软件站
|
音乐站
|
邮箱1
|
邮箱2
|
风格选择
|
更多 »
vista
鍙よ壊涔﹂
card
wind
绮夌孩濂抽儙
帮助
统计与排行
无图版
我来我网·5come5 Forum
»
学业有成
»
考试·毕业设计
»
DSP
交 易
投 票
本页主题:
DSP
显示签名
|
打印
|
加为IE收藏
|
收藏主题
|
上一主题
|
下一主题
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
role
/r
ə
ul/
n. 角色,作用,任务
]
DSP
有GG叫我把我的编程发出来,错了不要怪我
正确与否没有保障
欢迎抛砖
做了的接上
==========================================================
49.Try to give a program to evaluate the DTFT of the following finite-length sequence in the range :
Then run the Program and compute the real and imaginary parts of the DTFT, and the magnitude and phase spectra. Is the DTFT a periodic function of w? If it is, what is the period? Can you explain the jumps in the phase spectrum?
function dtft(N);
y=1.25*ones(1,41);
t=-20:20;
w=-6*pi:12*pi/N:6*pi;
X=zeros(1,N+1);
for n=1:N+1;
k=0;
for j=1:41
k=k+y(j)*exp(-i*w(n)*j);
end
X(n)=k;
end
figure(1);
subplot(2,1,1);stem(t,y);
subplot(2,1,2);plot(w,X);
figure(2);
subplot(2,1,1);plot(real(X));
subplot(2,1,2);plot(imag(X));
figure(3);
plot(unwrap(angle(X)));
059.Design a linear-phase FIR lowpass filter with the following specifications: passband edge at 2.2rad/sec, stopband edge at 4.1 rad/sec, maximum passband attenuation of 0.15dB, minimum stopband attenuation of 42dB, and a sampling frequency of 20rad/sec. Using the function fir1 and window of Kaiser to design. Show the impulse response coefficients and plot the gain response of the designed filter. Comment on your result.
fedge=[2.2/pi/2,4.1/pi/2];
mval=[1,0];
dev=[1-10^(-0.15/20),1-10^(-42/20)];
ft=20/2/pi;
[n,wn,beta,type]=kaiserord(fedge,mval,dev,ft);
b=fir1(n,wn,type,kaiser(n+1,beta),'noscale');
[h,w]=freqz(b,1,256);
plot(w/pi,20*log(abs(h)));
grid;
xlabel('\omega/\pi');ylabel('gain,db');
[ 此帖被阿董在2008-01-14 19:38重新编辑 ]
Posted: 2008-01-14 19:28 |
[楼 主]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
district
/'distrikt/
n. 区,地区,行政区
]
023.Design a Type 1 Chebyshev IIR lowpass filter meeting the specifications as below: sampling rate of 7kHz, passband edge frequency of 1.05kHz, stopband edge frequency of 1.4kHz, passband ripple of 0.4dB, and a minimum stopband attenuation of 50dB.Write down the exact expression for the transfer function generated. Does your design meet the specifications?
fs=7000;
wp=2*1050/7000;
ws=1.4*2/7;%归一
rp=0.4;
rs=50;
[n,wn]=cheb1ord(wp,ws,rp,rs);
[b,a]=cheby1(n,rp,wn,'low');
[h,w]=freqz(b,a,256);
plot(w/pi,20*log(abs(h)));
grid;
xlabel('\omega/\pi');ylabel('gain,db');
5.Write a MATLAB program to compute and plot the impulse response of a causal finite-dimensional discrete-time system characterized by a difference equation of the following form:
Generate and plot the first 41 samples of the impulse response of the system.
N=41;
x=[1 zeros(1,N-1)];
num=[1 -0.4 0.75];
den=[2.2403 2.4908 2.2403];
y=filter(num,den,x)
figure(1)
n=1:N;
stem(n,y)
026.Design a Type 2 Chebyshev IIR lowpass filter meeting the specifications as below: sampling rate of 3500Hz, passband edge frequency of 600Hz, stopband edge frequency of 1050Hz, passband ripple of 1dB, and a minimum stopband attenuation of 50dB.Write down the exact expression for the transfer function generated. Does your design meet the specifications?
>>Wp = 600/1750; Ws =1050/1750;
Rp = 1; Rs = 50;
[n,Wn] = cheb2ord(Wp,Ws,Rp,Rs)
n =
5
Wn =
0.6000
>> [b,a] = cheby2(n,Rs,Wn);
freqz(b,a,512,3500);
title('n=5 Chebyshev Type II Lowpass Filter')
Posted: 2008-01-14 19:30 |
[1 楼]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
dormant
/'d
ə
u:m
ə
nt/
a. 休眠的,蛰伏的
]
029.Design an elliptic lowpass IIR filter meeting the specifications as below: sampling rate of 40kHz, passband edge frequency of 4kHz, stopband edge frequency of 8kHz, passband ripple of 0.5dB, and a minimum stopband attenuation of 40dB.Write down the exact expression for the transfer function generated. Does your design meet the specifications?
wp=4*2/40;
ws=8*2/40;
rp=0.5;
rs=40;
[n,wn]=ellipord(wp,ws,rp,rs,'s');
[b a]=ellip(n,rp,rs,wn,'low');
freqz(b,a)
Posted: 2008-01-14 19:32 |
[2 楼]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
playground
/'pleigraund/
n. 运动场,游戏场
]
29. Writing a MATLAB program to compute the linear convolution of two length-N sequences. Using this program to determine the following pair of sequences:
And plot the result sequence.
n=0:10;
g=exp(i*0.1*pi*n);
h=cos(0.3*pi*n);
y=conv(x,h);
plot(y);
010.Design a Type 2 Chebyshev IIR lowpass filter meeting the specifications as below: sampling rate 80kHz, passband edge frequency 4 kHz, the maximum passband ripple 0.5 dB, stopband egde frequency 6 kHz the minimum stopband attenuation 20dB,plot frequency-magnitude and check if your design fits the specification.
wp=2*4/80;
ws=6*2/80;
rp=0.5;
rs=20;
[n,wn]=cheb2ord(wp,ws,rp,rs);
[b,a]=cheby2(n,rs,wn,'low');
freqz(b,a);
Posted: 2008-01-14 19:33 |
[3 楼]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
trip
/trip/
n. 短程旅行
]
11.Write a MATLAB program to compute and plot the response of input as and a causal finite-dimensional discrete-time system characterized by a difference equation of the following form:
Generate and plot the first 41 samples of the sinusoidal response of the system.
b=[1 -2];
a=[1 0.1 -.06];
n=0:40;
x=cos(0.2*pi*n);
h=filter(b,a,x);
plot(n,h)
052.Design a Blackman FIR lowpass filter meeting the following specifications: passband edge frequency=2kHz, stopband edge frequency=2.3kHz, passband ripple δp=0.002, stopband rippleδs=0.002 and sampling rate of 20kHz. Plot its gain and phase responses and check if it meets the specifications?
rp=-20*log(1-0.002);
rs=rp;
wp=2*pi*2/20;
ws=2*pi*2.3/20;
detaw=ws-wp;
m=5.56*pi/detaw;
n=ceil(2*m);
f=[0 wp/2/pi ws/2/pi 1];
mag=[1 1 0 0];
b=firls(n,f,mag);
freqz(b);
pause
wo=wp/2/pi;
dp=0.002;
ds=0.002;
c=fircls1(n,wo,dp,ds);
freqz(c);
Posted: 2008-01-14 19:33 |
[4 楼]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
host
/h
ə
ust/
n. 主人,东道主,节目持人,大堆,许多
]
056.Design a linear-phase FIR lowpass filter with the following specifications: passband edge at 3.1rad/sec, stopband edge at 5 rad/sec, maximum passband attenuation of 0.2dB, minimum stopband attenuation of 45dB, and a sampling frequency of 40rad/sec. Using the function fir1 and window of Hamming to design. Show the impulse response coefficients and plot the gain response of the designed filter. Comment on your result.
wp=2*pi*3.1/40;
ws=2*pi*5/40;
w0=ws-wp;
m=3.32*pi/w0;
N=ceil(2*m);
b=hamming(N);
dp=1-10^(-0.2/20);
ds=10^(-45/20);
wo=0.31;
c=fircls1(N,wo,dp,ds);
freqz(c)
Posted: 2008-01-14 19:33 |
[5 楼]
wjcc
∷
性别:
∷
状态:
∷
等级:
栋梁之材
∷
家族:
YD一族
∷
发贴:
529
∷
威望:
0
∷
浮云:
1167
∷
在线等级:
∷
注册时间: 2007-06-18
∷
最后登陆: 2008-06-29
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
noticeable
/'n
ə
utis
ə
bl/
a. 显而易见的
]
谢谢好人啊
Posted: 2008-01-14 19:35 |
[6 楼]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
left
/left/
a. 左边的,左侧的;ad. 向左,在左侧;n. 左面,左边,左派
]
045.Design a Hanning FIR lowpass filter meeting the following specifications: passband edge frequency=2kHz, stopband edge frequency=2.5kHz, passband ripple δp=0.005, stopband rippleδs=0.005, and sampling rate of 10kHz.Plot its gain and phase responses and check if it meets the specifications?
wp=2*pi*2/10;
ws=2*pi*2.5/10;
dp=0.005;
ds=0.005;
wo=(ws-ws)/pi;
n=ceil(2*3.11*pi/(ws-wp));
[b,a]= (fircls1(n,wo,dp,ds)
freqz(b,a);
Posted: 2008-01-14 19:35 |
[7 楼]
阿董
∷
性别:
∷
状态:
∷
头衔:
一起说BYE_BYE
∷
等级:
荣誉会员
∷
家族:
菠韬汹勇
∷
发贴:
24209
∷
威望:
3
∷
浮云:
387
∷
在线等级:
∷
注册时间: 2006-11-15
∷
最后登陆: 2011-05-26
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
bridge
/brid
3
ə
/
n. 桥,桥梁,桥牌
]
20.Write a MATLAB program to compute and plot the response of input as and a causal finite-dimensional discrete-time system characterized by a difference equation of the following form:
Generate and plot the first 41 samples of the response of the system.
b=[2.2403 2.4908 2.2403];
a=[1 -0.4 0.75];
n=0:15;
x=sin(2*pi*n)
y=filter(b,a,x);
t=0:40
N=41-length(y);
Y=[y,zeros(1,N)];
stem(t,Y)
01.Design an IIR butterworth digital lowpass filter with the following specifications: sampling rate 100kHz, passband edge frequency 25 kHz , the maximum passband ripple 0.5 dB, stopband egde frequency 34 kHz , stopband attenuation is 20dB,plot frequency-magnitude and check if your design fits the specification.
wp=2*25/100;
ws=2*34/100;
rp=0.5;rs=20;
[n,wn]=buttord(wp,ws,rp,rs);
[b a]=butter(n,wn,'low');
freqz(b,a)
Posted: 2008-01-14 19:36 |
[8 楼]
名柯
∷
性别:
∷
状态:
∷
头衔:
真的累了~
∷
等级:
人见人爱
∷
发贴:
2244
∷
威望:
0
∷
浮云:
1218
∷
在线等级:
∷
注册时间: 2006-10-01
∷
最后登陆: 2010-01-20
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
ceiling
/'si:li
ŋ
/
n. 天花板,顶篷
]
为什么我们没有上机
Posted: 2008-01-14 19:44 |
[9 楼]
bbsonic
∷
性别:
∷
状态:
∷
头衔:
虽千万人吾往矣
∷
等级:
荣誉会员
∷
家族:
国米阵线
∷
发贴:
5728
∷
威望:
4
∷
浮云:
456
∷
在线等级:
∷
注册时间: 2006-10-11
∷
最后登陆: 2009-05-20
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
omit
/
ə
u'mit/
v. 省略,删去,忽略,忘记
]
Quote:
引用第9楼名柯于2008-01-14 19:44发表的 :
为什么我们没有上机
没上机多好啊.....
Posted: 2008-01-14 19:50 |
[10 楼]
gourdqu
∷
性别:
∷
状态:
∷
头衔:
穿上牛仔裤
∷
等级:
荣誉会员
∷
家族:
Red Devils--夢劇塲
∷
发贴:
15463
∷
威望:
1
∷
浮云:
521
∷
在线等级:
∷
注册时间: 2006-10-27
∷
最后登陆: 2011-04-14
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
naval
/'neiv
ə
l/
a. 海军的,军舰的
]
原来有这么多通信的兄弟啊
Posted: 2008-01-14 20:26 |
[11 楼]
mingren
∷
性别:
∷
状态:
∷
等级:
鹤立鸡群
∷
发贴:
1476
∷
威望:
0
∷
浮云:
1109
∷
在线等级:
∷
注册时间: 2007-04-06
∷
最后登陆: 2008-06-29
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
enjoyable
/in'd
3
ə
oi
ə
bl/
a. 愉快的,有趣的
]
楼主好样的
Posted: 2008-01-14 21:12 |
[12 楼]
nirui
∷
性别:
∷
状态:
∷
等级:
栋梁之材
∷
家族:
飞跃重洋
∷
发贴:
842
∷
威望:
0
∷
浮云:
1559
∷
在线等级:
∷
注册时间: 2006-09-28
∷
最后登陆: 2010-01-20
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
listen
/'lisn/
n. 听,听信,听从
]
谢谢楼主!
Posted: 2008-01-14 21:24 |
[13 楼]
sunshine27
∷
性别:
保密
∷
状态:
∷
等级:
品行端正
∷
发贴:
387
∷
威望:
0
∷
浮云:
1132
∷
在线等级:
∷
注册时间: 2006-12-16
∷
最后登陆: 2009-11-23
【
复制此帖地址
只看此人回复
】
5come5帮你背单词 [
commit
/k
ə
'mit/
vt. 犯(错误,罪行等),把…付给,提交
]
谢谢了!救命了!
Posted: 2008-01-14 22:10 |
[14 楼]
快速跳至
|- 站务管理
|- 惩罚,奖励公布区
|- 会员咨询意见区
|- 申请区
|- 已批准申请区
|- 威望和荣誉会员推荐区
|- 5come5名人堂·Hall of Fame
>> 休闲娱乐
|- 灌水乐园 大杂烩
|- 精水区
|- 幽默天地
|- 开怀大笑(精华区)
|- 灵异空间
|- 运动新时空·菠菜交流
|- 动之风.漫之舞
|- 新货上架
|- 古董挖挖
|- 唯美贴图
|- 创意&美化&设计
|- 5COME5头像及签名档图片引用专区
|- 艺术摄影
|- 音乐咖啡屋
|- 音道乐经
>> 热点讨论
|- 工作交流
|- 求职信息
|- 就业精华区
|- 同城联谊
|- 留学专版
|- 情感物语
|- 情感物语精华区
|- 带走一片银杏叶
|- 精华区
|- 新闻直通车
|- 众志成城,抗震救灾
|- 衣食住行
|- 跳蚤市场
|- 旅游出行
>> 学术交流
|- 学业有成
|- 智力考场
|- 考研专版
|- 外语乐园
|- 考试·毕业设计
|- 电子设计·数学建模
|- 学生工作·社团交流·RX
|- 电脑技术
|- 电脑F.A.Q.
|- 软件交流
|- 硬件·数码
|- 程序员之家
|- Linux专区
|- 舞文弄墨
|- 历史&文化
|- 军临天下
|- 军事精华区
|- 财经频道
>> 游戏新干线[电子竞技俱乐部]
|- Blizz@rd游戏特区
|- WarCraft III
|- 魔兽区档案库
|- 魔兽争霸3博彩专区
|- StarCraft(new)
|- 暗黑专区
|- 休闲游戏区
|- PC GAME综合讨论区
|- 实况足球专区
|- Counter-Strike专区
|- TV GAME& 模拟器
|- 网络游戏
>> 资源交流
|- 恋影部落
|- 连续剧天地
|- 综艺开心档
|- 书香小筑
|- 小说发布
|- 资源交流
|- 综艺、体育、游戏资源发布
|- 音乐资源发布区
|- 电影电视剧发布区
|- 字幕园地
我来我网·5come5 Forum
»
考试·毕业设计
Total 0.012512(s) query 5, Time now is:07-07 04:12, Gzip enabled
Powered by PHPWind v5.3, Localized by
5come5 Tech Team
,
黔ICP备16009856号