I have set of 5 non-sequential number, which goes into a formula and it generates 4 numbers. What is best way to come up with a model to generate the 4 numbers?
Best Answer
There are several ways to model the system given the input-output regression. It depends what type of relationship you want to fit. e.g. linear, non-linear. If non-linear, then whether you want polynomial, exponential etc. Following are few resources to help you identify and solve the problem
If you want to fit Linear relation between input and out values, check this: mvregress().
You might want to model relation as polynomials:polyfit().
I'm not completely sure what you want to do with your climate datasets. Thefunctions in MATLAB for importing data should be able to handle your data sets with a little work, though other products (specificallyMapping Toolbox) contain functions designed to import data in some common geographical formats. Depending on how your data is stored, using the functions from Mapping Toolbox may save you some programming work.
MATLAB itself contains some functions for computing probabilities and basic statistics, but if you want more specialized statistical capabilities look atStatistics and Machine Learning Toolbox.
I encourage you to look at the documentation for those products and the examples to determine which ones look like they contain functionality you'll need or want.
Best Answer