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

📄 test0805gausscmod.m

📁 信号处理实例
💻 M
字号:
%---------------------------------------------------------------------------------------
% test0805gausscmod.m,  for  example 08.05
% gauss signal and its spectrum
% 2006.12.15 LYB
%----------------------------------------------------------------------------------------
clear;

N=256;
sig1=fmlin(N).*amgauss(N);
subplot(221)
plot(real(sig1));
axis([0 250 -1.2 1.2]);
xlabel('Time'); 
ylabel('Real part of x(t)');
title('Linear frequency modulation'); grid

dsp1=abs(fft(sig1)).^2; 
subplot(222)
plot((1:N/2)/N,dsp1(1:N/2)); grid;       

xlabel('Normalized frequency'); 
ylabel('the Spectrum of x(t)');
text(0.32,520,'test0805gausscmod');

[t0,T]=loctime(sig1)
[f0,B]=locfreq(sig1)
T*B

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -