How do I get the Autocorrelation matrix in DACE tool box ?

7 vues (au cours des 30 derniers jours)
Mai Phan
Mai Phan le 2 Mai 2023
How can I modify the DACE code to get the autocorrelation matrix ?
[dmodel, perf] = dacefit(S, Y, regr, corr, theta0)
[dmodel, perf] = ...
dacefit(S, Y, regr, corr, theta0, lob, upb)

Réponses (1)

Bhanu Prakash
Bhanu Prakash le 9 Mai 2023
Hi Mai,
As per my understanding, you want to get the autocorrelation matrix in DACE toolbox.
To get the Autocorrelation matrix, you can use the “autocorr” function. The input matrix “S” and the output of “dacefit” function i.e., “dmodel”, are passed as inputs to the “autocorr” function.
Consider the code statement below:
Z=autocorr(S,dmodel);
where, Z is the required output matrix.
For more information on “autocorr” function, you can refer to the following documentation:

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by