下载此文档

matlab 通用程序实现卷积.doc


文档分类:IT计算机 | 页数:约10页 举报非法文档有奖
1/10
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/10 下载此文档
文档列表 文档介绍
-----------------------------------------------------------------function[y,ny]=convu(h,nh,x,nx;nys=nh(1+nx(1;nyf=nh(end+nx(end;y=conv(h,x;ny=nys:nyf;subplot(2,2,1;stem(nx,x,'.';subplot(2,2,2;stem(nh,h,'.';subplot(2,2,3;stem(ny,y,'.';----------------------------------------------------------------nh=0:31;h=(1/2.^nhx=[ones(1,8zeros(1,2]nx=0:9;figure;convu(h,nh,x,nxnh=0:1:7;h=(1/2.^nhnx=0:1:7;x=cos((2*pi*nx/8convu(h,nh,x,nxnh=0:1:7;h=(1/2.^nhnx=0:1:7;x=(1/3.^nxconvu(h,nh,x,nx02468-1--2-**********.----------------------------------------------------------------------------------------function[]=fftt(x,nx,h,nh;n=21;%设置序列长度为21xx=fft(x,n;hh=fft(h,n;xh=xx.*hh;y=ifft(xh,n;nn=0:n-1;%序列为0到20subplot(2,2,1;stem(nx,x,'.';title('x(n';subplot(2,2,2;stem(nh,h,'.';title('h(n';subplot(2,2,3;stem(nn

matlab 通用程序实现卷积 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数10
  • 收藏数0 收藏
  • 顶次数0
  • 上传人q1188830
  • 文件大小38 KB
  • 时间2019-11-12