Does Matlab provide online linear fitting?

4 views (last 30 days)
Yazan
Yazan on 15 Jul 2023
Edited: Drew on 23 Aug 2023
Hi all,
I am looking for Matlab function or framework to perform linear fitting online, meaning I am looking for updating my linear model once new observations become available.

Answers (1)

Drew
Drew on 22 Aug 2023
Edited: Drew on 23 Aug 2023
There are many ways to perform linear fitting in MATLAB. This page lists some of the methods: https://www.mathworks.com/help/matlab/data_analysis/linear-regression.html.
Here are some options (out of many) from that page:
A more general intro to data fitting in MATLAB can be found at https://www.mathworks.com/discovery/data-fitting.html

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!