A quick guide about solving equations (optimization problem)
Show older comments
Assume x is a vector of size n. It is a sample.
beta are some vectors of size n. Each beta_j is a vector. There are s different *beta*s.
a_j is a real number. a contains all s numbers related to a sample ( x ).
alpha is a known parameter. Lets assume it is one.

beta is known, so is x. By solving the following equation, we find a_hat which contains the proper coefficients. enter image description here I need to know whether this equation can be solved in MATLAB.
1 Comment
Image Analyst
on 8 Jan 2014
How is this "a quick guide"? It doesn't seem to guide or help anybody. It doesn't look like a guide at all, but instead looks like your homework. Is it your homework? If so you should tag it as homework.
Accepted Answer
More Answers (2)
You can reformulate as a smooth problem in unknowns a(i), r(i)
min norm(x-beta*a)^2 + alpha*sum(r)
with constraints
-r(i)<=a(i)<=r(i)
This could be solved with quadprog or fmincon
Marc
on 8 Jan 2014
0 votes
Yes this problem can be solved with functions in the optimization toolbox.
Categories
Find more on Surrogate 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!