Giter Site home page Giter Site logo

rotario / arduinocurvefitting Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 3.0 23 KB

Fit polynomial curves to given points using least squares regression

License: MIT License

C++ 84.38% C 15.62%
arduino numerical-methods curve-fitting c cpp matrix determinant

arduinocurvefitting's People

Contributors

rotario avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arduinocurvefitting's Issues

arduino IDE

Hi,
Nice work, but it does not compile with Arduino IDE. Get all kind of errors:
printf for instance. These are relatively easy to overcome.

More serious are the errors in the ccp file eg: double T[maxOrder] = {0}; //Values to generate RHS of linear equation
etc

Any solution? Thankyo in advance

great library; using it for voltage calibration in voltmeter

wanted to give a big thanks for putting together this library!

I included it in my esp8266 voltmeter (data logger) project and it improved the accuracy with very little extra effort on my part, just had to learn how to call your api - and that was pretty easy.

tiny suggestion: for things that are positive integers (like number of points), maybe make that more explicit that its unsigned int rather than it.

it would also be interesting to know what the memory needs/usage is, as you choose the number of points and order of the poly.

again, thanks for such a great contribution.

add more tags

Hello
good work.
but can you add more tags in description. because I search for more than 1 week in arduino library and in google for "np.polyfit" and "polyfit" and not find anything

thank you al lot.

Resolution

Is there a way to get more than 2 decimal places of resolution? I have noticed that the curve doesn't fit at higher orders because of the precision.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.