Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Formulas and Graphics ?????

Status
Not open for further replies.

avr_nb

Newbie level 4
Newbie level 4
Joined
Dec 12, 2006
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
Hi all,

Is it possible to get a formula from a graphic table? Like when you get the response of a sensor, put all values in a graphic and must find a formula?

Thanks
Luiz
 

avr_nb said:
Hi all,

Is it possible to get a formula from a graphic table? Like when you get the response of a sensor, put all values in a graphic and must find a formula?

Thanks
Luiz

Try search 'curve fitting' 'nonlinear regression', 'polynomial curves' etc. on google

One of many hits is:

https://en.wikipedia.org/wiki/Curve_fitting

https://mathworld.wolfram.com/LeastSquaresFitting.html

and one of many (but possibly not best) excel tutors:

**broken link removed**


---

Many calculators, mathcad and mathematica and possibly excel have tool can help make coffecients from tabular number pair with linear and nonlinear regression ('curve fit' under statistic in most case) in first order (linear) and secondary order (exponent, logaritmic or power function depend of curve direction and 'bending' , or polynomial for higher order 'bumpy' curve)

For make first order (linear) and second order curve (with Pow, log or exp) with regression, you not need so many samples to make fairly good curve fit and uses widely to make 'trend lines' in marketing and business world, not only to make correction alghorithm for PTC or NTC temperature sensors...

---

I think polynomial is easiest to handle in MCU-enviroment if you not have advanced float math-library with exp,log and pow-capability - but still need some kind of floating numbers arithmetic depend of wide scale between smallest and biggest used value.

.
 

    avr_nb

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top