n=0:1:4; h=0.8.^n; x=1.^n; y=conv(x,h); stem(y);title('卷积运算结果图')
卷积变换 源代码
汇集 卷积变换 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include "graphics.h" #include "conio.h" #include "math.h" #include "stdio.h" #define E 100 #define N 640 void jianto(int …
function y=conv(x,h) nx=length(x); nh=length(h); for n1=1:nx+nh-1; sum=0; for m1=1:nh; t=n1-m1; if…
%计算圆周卷积 N=20; N1=10; N2=18; n=0:1:N-1; n1=0:1:N1-1; n2=0:1:N2-1; x1=(0.8).^n1; x2=(0.6).^n2; y=circonvt(x1,x2,N); subpl…
n=0:1:31; h=0.8.^n; x=1.^n; y=conv(x,h); stem(y);title('卷积运算结果图')
n=0:1:31; h=0.8.^n; x=[1 1 1 1]; y=conv(x,h); stem(y);title('卷积运算结果图')
% 例4.4a z变换相乘 % x1=[2,3,4];x2=[3,4,5,6]; x3=conv(x1,x2)
% 例4.4a z变换相乘 % x1=[2,3,4];x2=[3,4,5,6]; x3=conv(x1,x2)