Graph non-linearity calculation

  • Thread starter Thread starter thavamaran
  • Start date Start date
  • Tags Tags
    Calculation Graph
AI Thread Summary
The discussion focuses on calculating the drift percentage between an actual sensor output graph (blue line) and a linearity graph (red line). The primary formula suggested for point-by-point analysis is the absolute percentage drift, expressed as |yo(x) - yp(x)| / yp(x) * 100%. For a comprehensive analysis of the entire graph, two alternative methods are proposed: using integrals to calculate the average drift or the root mean square difference. Concerns are raised about negative values when the observed output is less than the predicted output, leading to the recommendation of using absolute values. The conversation emphasizes the importance of accurately measuring and interpreting drift in sensor data analysis.
thavamaran
Messages
39
Reaction score
0
Hi guys, I am currently undergoing process of my final engineering project. so I am 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.
 

Attachments

  • Graph1.JPG
    Graph1.JPG
    9.3 KB · Views: 869
  • graph2.JPG
    graph2.JPG
    10.7 KB · Views: 884
Mathematics news on Phys.org
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
\frac{|y_o(x)- y_p(x)|}{y_p(x)}
written as a percent.
 
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
 
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?
 
That was why I suggested using absolute value. If you want a single number for the entire graph you might use either
\frac{\int |y_o(x)- y_p(x)|dx}{\int y_p(x) dx}
or
\frac{\sqrt{\int{(y_o(x)- y_p(x))^2 dx}}}{\int y_p(x)dx}

(A third measure that is sometimes used is
max\left(\frac{|y_o(x)-y_p(x)|}{y_p(x)}\right))
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top