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

📄 ex_12_13_1.m

📁 清华大学胡广书教授< 数字信号处理理论算法实现>>第二版一书的配套题解和电子课件一书《数字信号处理题解及电子课件》(2007年5月出版)的matlab源程序。
💻 M
字号:
%  ex_12_13_1.m :  习题 12.13

clear all;
close all;

load sunspot.dat;
x=sunspot
x=x-mean(x);
N=length(x);
LEN=4096;
w=0:1/LEN:0.5-1/LEN;    
f=0:1/4096:0.5-1/4096;
%
X=abs(fft(x,LEN));
Psd1=X.^2/N;   
%
subplot(221)
plot(w,Psd1(1:2048));grid on;   

subplot(222)
p_burg1=pBurg(x,3,LEN);
plot(w,p_burg1(1:2048));grid on; 

subplot(223)
p_burg2=pBurg(x,6,LEN);
plot(w,p_burg2(1:2048));grid on; 

subplot(224)
p_burg3=pBurg(x,9,LEN);
plot(w,p_burg3(1:2048));grid on; 

⌨️ 快捷键说明

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