MATLAB Answers


This question is closed. Reopen it to edit or answer.

Optimization using lsqnonneg function

1 view (last 30 days)
rihab on 10 Nov 2015
Closed: MATLAB Answer Bot on 20 Aug 2021 at 17:18
I have to find value of x that minimizes norm of|C*exp(x) - d| subject to x >= 0. I am finding the value of exp(x) that minimizes norm of|C*exp(x) - d| using lsqnonneg function of MATLAB and further I am taking logarthmic of exp(x) to find the value of x. Is this a correct approach or is there some other way in MATLAB to do so? I would appreciate suggestions.

Answers (0)

Community Treasure Hunt

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

Start Hunting!