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

조회 수: 10 (최근 30일)
Mai Phan
Mai Phan 2023년 5월 2일
답변: Bhanu Prakash 2023년 5월 9일
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)

답변 (1개)

Bhanu Prakash
Bhanu Prakash 2023년 5월 9일
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:

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by