How can i find an equation from datas?

2 views (last 30 days)
Clothilde Maugars
Clothilde Maugars on 17 Oct 2020
Edited: Athul Prakash on 23 Oct 2020
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 Comments
KSSV
KSSV on 17 Oct 2020
Read about polyfit, curvefitting toolbox.
Alex Sha
Alex Sha on 18 Oct 2020
Hi, Clothilde, post out your data if possible.

Sign in to comment.

Answers (1)

Athul Prakash
Athul Prakash on 23 Oct 2020
Edited: Athul Prakash on 23 Oct 2020
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!

Categories

Find more on Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!