image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > General Math


Reply

image Graph non-linearity calculation Share It Thread Tools Search this Thread image
Old Jul2-09, 05:54 AM                  #1
thavamaran

thavamaran is Offline:
Posts: 8
Graph non-linearity calculation

Hi guys, im currently undergoing process of my final engineering project. so im analyzing my sensor via graph. so i have attach two graph image whereby i need to compare the actual output which is in blue line and red line is the actual linearity graph which how it suppose to be. so now i need to find the drifting percentage between the actual graph and the linearity graph. i need idea how to do it, can anyone guide me through please. thank you.

in second graph i have pointed out the drifted point from linearity form. please guide me through.
Attached Images
File Type: jpg Graph1.JPG (22.6 KB, 4 views)
File Type: jpg graph2.JPG (26.4 KB, 4 views)
  Reply With Quote
Old Jul2-09, 06:48 AM                  #2
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: Graph non-linearity calculation

I presume that by the "drift" you mean the difference between the observed value (blue line) and the predicted value (red line). Calling the observed value yo(x) and the predicted (linear) value yp(x), the "percentage drift" is
LaTeX Code: \\frac{|y_o(x)- y_p(x)|}{y_p(x)}
written as a percent.
  Reply With Quote
Old Jul2-09, 07:28 AM                  #3
thavamaran

thavamaran is Offline:
Posts: 8
Re: Graph non-linearity calculation

So you mean by A=blue line and B=red line, ((A-B)/B)x100% right. so that means this equation goes for point of the drifted value right, so its for point by point analysis. is there any possibilities for the entire blue line drifting equation compare to red line equation?

thanks a lot
  Reply With Quote
Old Jul2-09, 07:37 AM                  #4
thavamaran

thavamaran is Offline:
Posts: 8
Re: Graph non-linearity calculation

come back to your equation, how if the blue line value is smaller than red line? like A=1, B=2, its going to be in negative form?
  Reply With Quote
Old Jul2-09, 09:40 AM                  #5
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: Graph non-linearity calculation

That was why I suggested using absolute value. If you want a single number for the entire graph you might use either
LaTeX Code: \\frac{\\int |y_o(x)- y_p(x)|dx}{\\int y_p(x) dx}
or
LaTeX Code: \\frac{\\sqrt{\\int{(y_o(x)- y_p(x))^2 dx}}}{\\int y_p(x)dx}

(A third measure that is sometimes used is
LaTeX Code: max\\left(\\frac{|y_o(x)-y_p(x)|}{y_p(x)}\\right) )
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Graph non-linearity calculation
Thread Thread Starter Forum Replies Last Post
Effects of non-linearity of GR Orbb Special & General Relativity 8 Feb11-09 10:32 PM
Linearity FredericGos General Math 3 Oct25-08 06:55 PM
Focal length calculation and graph Q _Greg_ Introductory Physics 3 Jun7-07 12:31 PM
Linearity of determinant twoflower Linear & Abstract Algebra 4 Jun18-05 02:30 AM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image