MATLAB机考样题(带答案)MATLAB机考样题(带答案).docVIP

MATLAB机考样题(带答案)MATLAB机考样题(带答案).doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
MATLAB机考样题(带答案)MATLAB机考样题(带答案)

MATLAB机考样题: (1)Generate and plot sequence , with. n1=-20:20; x1=2*cos(pi/8*n1); n2=n1-4; x2=2*cos(pi/8*n2); subplot(2,1,1); plot(n1,x1); subplot(212); plot(n2,x2); (2)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: N=input(请输入你要求的点数N=); num=[1.8 0.34 -1.32 -0.86]; den=[1 0.3 0.5 -0.72]; x=[1 zeros(1,N-1)];(单位冲击) y=filter(num,den,x); plot(0:N-1,y); (3)Write a MATLAB program to compute and display the poles and zeros, to compute and display the second-order factored form, and to generate the pole-zero plot of a z-transform that is a ratio of two polynomials in z-1. Using this program to analyze the following G(z): num=[8.1 6.93 -23.82 10.5]; den=[1 1.52 0.18 -0.1768]; sos=tf2sos(num,den) %tf2sos表示为1/z的升幂 zplane(num,den) (4)Try to give a program to evaluate the following DTFT in the range : %由于用freqz计算频点至少是2个,所以至少输入两个频点 w1=input(请输入你要计算的频点w1=); w2=input(请输入你要计算的频点w2=); w=[w1 w2]; num=[2 5 9 5 3]; den=[5 45 2 1 1]; h=freqz(num,den,w) (6)Write a MATLAB program to compute and plot the magnitude response of a causal LTI discrete-time system with a transfer function given by num=0.15*[1 0 -1]; den=[1 -0.5 0.7]; [h,w]=freqz(num,den,512); plot(w/pi,abs(h)); (7)Consider the following FIR transfer function: Using MATLAB to determine its zero locations and plot its magnitude and phase response. h=[1 0.6 .49 -0.48 -0.14 -0.12 0.09]; figure(1) zplane(h,1); [H,w]=freqz(h,1,512); figure(2) plot(w/pi,abs(H)); figure(3) plot(w/pi,angle(H)); (8)Given a signal , when using a sampling frequency fT= 20KHz, plot the magnitude and phase spectrum of the sampled sequence(given length-64). fs=2e4; n=0:63; x=4*n/fs+cos(0.1*pi*n/fs); h=fft(x,1024); figure(1); plot(0:2/1023:2,abs(h)); figure(2); plot(0:2/1023:2,angle(h)); (9)design an IIR butterworth digital lowpass filter with the following specifications: sampling rate of 40kHz, passband edge frequency of 4kHz,

您可能关注的文档

文档评论(0)

vshoulrengb3 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档