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

📄 continous.m

📁 matlab实现卷积运算。非常高兴业大家分享此代码。
💻 M
字号:
period=0.01;
t1=input('please input the input signal time period and it is a array with format[stattime:0.01:endtime]');
t2=input('please input the impulsive reaction time period and it is a array with format[stattime:0.01:endtime]');

x=input('please input the signal and it is a function of t1 with format f(t1)');
h=input('please input the system and it is a function of t2 with format f(t2)');

t0=t1(1)+t2(1);
t3=length(x)+length(h)-2;
t=t0:period:t0+t3*period;
fprintf('please input f=conv(x,h) and plot(t,f).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 + -