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