📄 time_phase_impul.m
字号:
%==========================================================================
% Name:time_phase_impul.m
%==========================================================================
clear;close all,
t=-10:0.01:10;
w=-10:0.05:10;
phi1=-4*w;
phi2=0;
H1=exp(j*phi1).*(u(w+5)-u(w-5));
h1=H1*exp(j*w'*t)*0.05/(2*pi);
H2=exp(j*phi2).*(u(w+5)-u(w-5));
h2=H2*exp(j*w'*t)*0.05/(2*pi);
subplot(211);plot(t,h1,'r');grid on;title('The impulse response h(t)');
subplot(212);plot(t,h2,'r');grid on;title('The impulse response h(t)');
xlabel('Time t');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -