Clear Filters
Clear Filters

How can i calculate error (sse) between 2 curves in one figure?

4 views (last 30 days)
Hi, I saved a plot V60abX1ohneGrid.fig. I have some x and y data. I plot the x and y data into V60abX1ohneGrid.fig like this:
x; y; fig1=openfig('V60abX1ohneGrid.fig'); plot(gca,x,y)
So i get this plot
Can someone tell me how i get the error (maybe SSE) between the 2 curves?
Thanks
  3 Comments
Deniz
Deniz on 8 Nov 2013
Edited: Deniz on 8 Nov 2013
Thank you for your time. Yes as you said the thick line comes from a fit to the data points (saved figure). The thin line comes from x and y data. I plottet the x and y data into the saved figure of the curvefit. now i wanted the difference or the space or error between the thick line and the thin line.
dpb
dpb on 8 Nov 2013
That's what the above gives if the points are commensurate.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!