NekSfyris / recursive_least_squares

Least squares and recursive least squares implementation. 2D line fit to noisy data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recursive_least_squares

Least squares and recursive least squares implementation. Determine the resistance R considering Ohm's law V=R*I, by comparing both methods for 2D line fit to noisy data.

Results

Least Squares

alt text

Recursive Least Squares

alt text

How to run

To run each file, do:

  1. python3 recursive_least_squares_ohm_law.py

About

Least squares and recursive least squares implementation. 2D line fit to noisy data.


Languages

Language:Python 100.0%