时域卷积 源代码
汇集 时域卷积 相关的电路原理图、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('卷积运算结果图')
%dm08401 %计算连续时间信号卷积积分并绘波形 t1=-1:0.01:3; f1=Heaviside(t1)-Heaviside(t1-2); %定义信号 t2=t1; f2=0.5*t2.*(Heaviside(…
%dm08401 %计算连续时间信号卷积积分并绘波形 t1=-1:0.01:3; f1=Heaviside(t1)-Heaviside(t1-2); %定义信号 t2=t1; f2=0.5*t2.*(Heaviside(…
% 第五章: 例5.15: 循环卷积举例 % % a) 5点循环卷积 x1 = [1,2,2]; x2 = [1,2,3,4]; y = circonvt(x1,x2,5) % b) 6点循环卷积 x1 = [1,2,2]; x2 = [1,2,3…