Optimization when solving equation system
1 view (last 30 days)
Show older comments
Good evening,
I'm trying to solve the following issue:
Given a vector (n=50 elements), which is expanded in known basis functions and known coefficients according to . I'd like to express v in an alternative known basis with unknown coefficients like . I obtain all coefficients via , in which the basis transformation matrix T follows from solution of the matrix equation with containing the as column vectors. This procedure works perfectly fine so far, with one exception: I'd like to ensure that , so the maximum value of the alternative expansion should never be smaller than the one of the original expansion.
Can this be done by optimization when solving for T in any way in Matlab?
0 Comments
Answers (1)
Matt J
on 27 May 2022
Edited: Matt J
on 27 May 2022
fmincon with a nonlinear constraint would probably work, although because your constraint is non-differentiable, strictly speaking the problem doesn't satisfy fmincon's assumptions. It might be worth doing a preliminary step, where you replace your max constraint with,
for some . Then, use that solution as the initial guess when you solve the original problem (which corresponds to).
See Also
Categories
Find more on Nonlinear Optimization 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!