How to perform non linear regression on a multiple input multiple output matrix equation?

1 次查看(过去 30 天)
Let's say I have the following matrix equation (where X is my input vector, Y is my output vector and B is my vector of parameters to be estimated):
If I have a 100x3 data matrix for X and a 100x2 data matrix for Y, how can I perform non linear regression to estimate the values of B(1), B(2) and B(3)?
To the best of my knowledge, the function 'nlinfit' requires that Y be a column vector.

回答(1 个)

Thejus Jose
Thejus Jose 2020-6-3
For anyone who is also wondering about the same question, I was able to find the solution by searching around a bit.
'lsqcurvefit' is a MATLAB function that solves this problem.

类别

Help CenterFile Exchange 中查找有关 Descriptive Statistics 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by