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

2 views (last 30 days)
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.

Answers (1)

Thejus Jose
Thejus Jose on 3 Jun 2020
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.

Categories

Find more on Descriptive Statistics in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!