Current location - Training Enrollment Network - Mathematics courses - How to get the function of five independent variables and one dependent variable by matlab fitting, urgent! Ask the master to help me and grade me ~
How to get the function of five independent variables and one dependent variable by matlab fitting, urgent! Ask the master to help me and grade me ~
Matlab can at least get your results in the following ways.

Use the statistical toolbox

Can directly realize 1 multivariate linear fitting regression function, very simple. This method is similar to the linear least square fitting of data, and is actually related to the overdetermined equation. But in practical problems, most of them can't be described by linear relationship.

2 Establish your own functional relationship, use nonlinear fitting function nlinfit, and other functions such as fittype lsqcurvefit, but you have to figure out your own functional expressions.

I usually use artificial neural network toolbox to deal with it. By adjusting the parameters of BP network, satisfactory results are obtained. But this method produces a mathematical model, not a specific function expression.