How can i find an equation from datas?

Hello,
As part of a renewable energy optimization project,
I am trying to define an equation from wind and photovoltaic data over one year using the fit or lsqnonlin function.
How can i find an equation from this datas?
can you help me

3 Kommentare

Ameer Hamza
Ameer Hamza am 17 Okt. 2020
You need to have a model to fit the data. Otherwise, there is no unique solution. You can pick any equation, and it data will fit to the data to some degree.
KSSV
KSSV am 17 Okt. 2020
Read about polyfit, curvefitting toolbox.
Alex Sha
Alex Sha am 18 Okt. 2020
Hi, Clothilde, post out your data if possible.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Athul Prakash
Athul Prakash am 23 Okt. 2020
Bearbeitet: Athul Prakash am 23 Okt. 2020

0 Stimmen

You may pick out a model first to fit your data onto. There a wide variety of models available in Matlab and the choice would depend on the kind of data that you have - if you can post the data here along with your question, you may get better recommendations.
To start with, I would recommend polyfit or lsqnonlin. I might also try playing with simple Neural Network models as a next step.
Have a look at this doc as well:
Hope it helps!

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Okt. 2020

Bearbeitet:

am 23 Okt. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by