Im trying to implement the argmax operator in matlab.

That means that i want the vector Θ that maximeze this expression. can be viewed as a real number that depends on Θ. I found the frobenius norm in matlab but i dont know how to find that Θ. I also tried fmincon and symbolic but without success.

 Accepted Answer

fmincon should have been fine. Since you have no constraints, though, fminunc might be better. fminsearch might also be sufficient if p and K are small.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!