Find a function given inputs and output
Show older comments
Dear Matlab community, I would like to ask for an help. I have to find the function "under" a software for building energy efficiency. The input values are Temperature, Area, number of people, etc and the only output value is the energy consumption. Now, is there any matlab tool that can help me find the correlation between ouput-inputs?
Thanks for your time and help.
2 Comments
"I have to find the function". That does not make any sense, because for any finite set of data there are infinite functions that exactly fit that data, so there cannot be " the function".
If you really need some function to model your data then practically speaking you have a choice:
- Use prior knowledge of the underlying system or physics to specify a model, and use curve fitting to obtain the model parameters that describe your data.
- Use a spline.
Which would you prefer?
M P
on 6 May 2017
Answers (1)
Star Strider
on 6 May 2017
0 votes
You are doing system identification. This can be quite involved, and requires a knowledge of control theory.
The System Identification Toolbox is what you need to estimate the structure and dynamics of your system. See the documentation on Getting Started with System Identification Toolbox (link) to understand how to use it correctly. It can estimate multi-input, single-output (MISO) systems, so you will be able to use it with your problem.
I would use the state space modeling approach, because a state space representation tells you more about your system and its dynamics.
Categories
Find more on Get Started with System Identification 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!