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

📄 armase.m

📁 现代信号谱估计算法的matlab代码 调用函数代码
💻 M
字号:
function phi = armase(b,a,sig2,L);
% generates L samples of an ARMA spectral density function phi
% from the ARMA coefficients.
%
% phi = armase(b,a,sig2,L);
%      b    -> the MA coefficient vector (including the leading '1')
%      a    -> the AR coefficient vector (including the leading '1')
%      sig2 -> the white noise variance 
%     L     -> the number of PSD samples desired
%      phi  <- the spectral density at frequencies 0, 2pi/L, ... 2pi*(L-1)/L

% Copyright 1996 by R. Moses

H=freqz(b,a,L,'whole');
phi = abs(H).^2*sig2;

⌨️ 快捷键说明

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