?? continous.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 + -