📄 property2.m
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% property2.m - Program for showing Symmetry
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
x1 = [1 0.2 0.3 0.5 -0.3 0.2 -0.1 0.1];
X = fft(x1,8);
real_X = real(X);
imag_X = imag(X);
mag_X = abs(X);
phase_X = angle(X);
figure;
subplot(221), stem(0:7,real_X); title('Real part of X(k)');
subplot(222), stem(0:7,imag_X); title('Imag part of X(k)');
subplot(223), stem(0:7,mag_X); title('Mag of X(k)');
subplot(224), stem(0:7,phase_X); title('Phase of X(k)');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -