Least Squares with constraint on absolute value
Show older comments
Hi , I need to solve a least squares values of the form
Howerver, x is complex and I need to constraint the solutions to make each element of vector x to have absolute value of 1.
Is that possible?
Best,
Accepted Answer
More Answers (1)
You'll need to write the problem in terms of the real-valued components xi and xr of x,
x=xr+1i*xi
Once you do that, your absolute value constraints become quadratic,
xr^2+xi^2=1
and you can solve with fmincon.
2 Comments
Matt J
on 16 Jun 2023
I meant that you should follow the example here,
Categories
Find more on Systems of Nonlinear Equations 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!