From 291d8617e127e696332429ba3fdf2155e68fce0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Argos=29?= <stepan@adjemian.eu> Date: Fri, 5 Apr 2024 14:30:14 +0200 Subject: [PATCH] Cosmetic change (doc header). [skip ci] --- matlab/pac-tools/a2alpha.m | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/matlab/pac-tools/a2alpha.m b/matlab/pac-tools/a2alpha.m index 847bd46f53..2bb2b5171e 100644 --- a/matlab/pac-tools/a2alpha.m +++ b/matlab/pac-tools/a2alpha.m @@ -3,26 +3,26 @@ function alpha = a2alpha(a) % Computes the m alpha coefficients from the m a coefficients of the PAC model. % % INPUTS -% - a [double] m*1 vector of coefficients. +% - a [double] m×1 vector of coefficients. % % OUTPUTS -% - alpha [double] m*1 vector of coefficients. +% - alpha [double] m×1 vector of coefficients. % % NOTES % -% Given the current estimate of the PAC parameters a_0, a_1, ..., a_{m-1}, the routine does the following: +% Given the current estimate of the PAC parameters aâ‚€, aâ‚, ..., aₘ₋â‚, the routine does the following: % -% \alpha_{m} = a_{m-1} -% \alpha_{m-1} = a_{m-2}-a_{m-1} -% \alpha_{m-2} = a_{m-3}-a_{m-2} -% ... -% \alpha_3 = a_2-a_3 -% \alpha_2 = a_1-a_2 -% \alpha_1 = a_0-a_1-1 +% αₘ = aₘ₋₠+% αₘ₋₠= aₘ₋₂ - aₘ₋₠+% â‹® +% αᵢ = aᵢ₋₠- aáµ¢ ≡ - Δaáµ¢ +% â‹® +% α₂ = aâ‚ - aâ‚‚ +% α₠= aâ‚€ - aâ‚ - 1 % -% Note that the last elements of input a are (a_0, a_1, ..., a_{m-1}). +% Computed coefficients αᵢ define lag polynomial A(L) = 1 + αâ‚L + α₂L² + … + αₘ Láµ such that aâ‚€ = A(1). -% Copyright © 2018 Dynare Team +% Copyright © 2018-2024 Dynare Team % % This file is part of Dynare. % @@ -53,4 +53,4 @@ alpha = zeros(m, 1); % Compute the transformed parameters alpha(m) = a(m); alpha(2:m-1) = a(2:m-1)-a(3:m); -alpha(1) = a(1)-a(2)-1; \ No newline at end of file +alpha(1) = a(1)-a(2)-1; -- GitLab