⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 discrete.m

📁 matlab实现卷积运算。非常高兴业大家分享此代码。
💻 M
字号:
x=input('please input the signal function and it is a array with format[x1..xn]');
xn=input('please input the signals period and it is a array with format[a:b]');
h=input('please input the system function and it is a array with format[h1..hn]');
hn=input('please input the system period  and it is a array with format[c:d]');
y1=xn(1)+hn(1);
y2=xn(length(x))+hn(length(h));
y3=[y1:y2];
fprintf('please input y=conv(x,h) and stem(y,y3).after that you will get the answer of the convolution and see the picture of output signal')
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -