Finding residuals of curves

조회 수: 4 (최근 30일)
Linn
Linn 2019년 5월 2일
댓글: Adam Danz 2019년 5월 3일
Screen Shot 2019-05-02 at 19.37.34.png
Hi there,
I am trying to compare the results of data obtained from two different mathematical models. The blue curve represents the meaasured values and the red one represents the predicted values. I would like to find the residuals of these two curves and plot a box-plot for data analysis. Is there any data fitting method that can be done just from the curves generated?
  댓글 수: 4
Rik
Rik 2019년 5월 2일
Do those values share x coordinates?
And I didn't mention anything about the feasibility of a box plot. You can use one if you want, but it will not show the high level of agreement between model and data. A small shift in x will result in a large residual (which is measured in y).
Adam Danz
Adam Danz 2019년 5월 3일
It looks like the x values do not align. The blue line ends around x=0.68.
@Linn, you'll need to be a little more descriptive about the data you're working with. I saw that you attached files that appear to be vectors of numbers but I'm interested in knowing their sizes. IDoes the n'th number in one file correspond to the n'th number in the other file? Maybe you could fill in some of these missing pieces to help us get an idea of what you're working with.

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

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by