How do I get the Autocorrelation matrix in DACE tool box ?
조회 수: 10 (최근 30일)
이전 댓글 표시
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
답변 (1개)
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:
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!