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

📄 getpar.m

📁 动态时间序列分析工具包.包括有ARMA,harmonic model,kalman filter等方法
💻 M
字号:
function [a,b,c,P,delays] = getpar(th);
% GETPAR  Returns transfer function polynomials from theta matrix
%
% [a,b,c,P,d]=getpar(th)
%
% th: theta matrix (see 'help theta')
%
% a: Denominator polynomial
% b: Numerator polynomial
% c: Noise polynomial
% P: Covariance matix
% d: Delays (continuous time only)
%
% Example: th=riv([y u], [2 1 3 0]); [a, b]=getpar(th)
%   estimate a transfer function model using the RIV function
%   then extract the denominator and numerator polynomials
%
% See also RIV, RIVID, RIVC, RIVCID, MAR, PREPZ, SCALEB, THETA

% Copyright (c) 2006 by CRES, Lancaster University, United Kingdom
% Authors : Peter Young, Wlodek Tych, Diego Pedregal, James Taylor

% Returns the denominator a, numerator b and noise c 
% polynomials, together with the noise covariance P matrix and (in 
% the continuous time case) number of delays d. These variables 
% are all extracted from a previously estimated theta-matrix (see help 
% theta). Each row of b represents the numerator polynomial for 
% each input variable.

if nargin==0
  disp(' ')
  disp(' GETPAR  Returns transfer function polynomials from theta matrix')
  disp(' ')
  disp(' [a,b,c,P,d]=getpar(th)')
  disp(' ')
  return
end

if nargin<1, th=[]; end

[a,b,c,P,delays]=getpar0(th);

% end of m-file

⌨️ 快捷键说明

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