lsqnonlin function take two initial guess for two different matrix parameter
Show older comments
I was working on a project trying to use Levenberg Marquardt algorithm to find suitable F and P result that will minimize:
F(i = 1 to 10) = sum( u(i) - F*P )
In this equation, F is a 3X4 matrix and P is a 4X3 matrix.
I know lsqnonlin() function can take one initial guess, so I can initial an F with zeros and pass to the lsqnonlin to get the solution for F. However, I think I will need to pass both F and P with an initial guess and find the solution for both.
Is there a way we can pass two initial guesses into lsqnonlin, or I need to combine P and F into one, however, they have different dimensions.
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics 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!