how to detemine this residual matrix ?

조회 수: 11 (최근 30일)
Nadya
Nadya 2020년 8월 10일
댓글: Peng Li 2020년 8월 12일
I calculate the cumulative sum of a matrix :Gm,n(i,j)
Now, the next step is '' we adopt the simplest function of a plane-fitting (i.e.Gm,n(i,j)=ai+bj+c ) to fit the trending for each surface Gm,n and determine the residual matrix ym,n(i,j).''
Please, can someone give me the code how to detemine this residual matrix, please ?
  댓글 수: 2
Peng Li
Peng Li 2020년 8월 10일
You question isn't clear enough for people to provide valuable comments honestly.
Nadya
Nadya 2020년 8월 10일
It is explained like this in the paper.
To estimate the eq 2, I need to determine ''the residual matrix''.
Sincerely, I myself didn't understand, especially the fact that I'm not a mathematician, but I need to program this method.

댓글을 달려면 로그인하십시오.

답변 (1개)

Peng Li
Peng Li 2020년 8월 10일
Interesting. This is an application of the detrended fluctuation analysis (DFA) to a 2D image. Based on what your screenshot shows, it implements the algorithm similarly like being implemented to a time series -- cut into segments based on a time scale s (or here a time-spatial scale), integration (cumulative sum), linear fitting to get residual, and finally there should be a log-log fit between s and F(s).
To answer the specific question you asked, the residual is nothing but the point difference between G_{m,n} and \tilde{G}_{m,n}. This means, the y variable y_{m,n} = G_{m,n} - \tide{G}_{m,n}. F is simply the average of sum of squared y.
  댓글 수: 4
Nadya
Nadya 2020년 8월 11일
Sincerely, I have no idea, I have never programmed the equations in Matlab.
Thank you anyway.
Peng Li
Peng Li 2020년 8월 12일
understand and I would just like to encourage you to try it out and ask back here if you get any issues. That way you probably have higher chance to get a solution. I will see what I can do but honestly I have short of time this week and next to meet multiple deadlines, conferences ...

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by