How do I get the Autocorrelation matrix in DACE tool box ?
7 views (last 30 days)
Show older comments
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)
0 Comments
Answers (1)
Bhanu Prakash
on 9 May 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:
0 Comments
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!