Hello Friends,
I want to optimize, i.e., find the optimal value of k in the following problem:
max k*x <= epsilon
How to find the maximum value of k for a given matrix x and some epsilon, say, 0.1?
I will appreciate any advise!

 採用された回答

Torsten
Torsten 2016 年 8 月 12 日
編集済み: Torsten 2016 年 8 月 12 日

1 投票

Please state your problem more clearly.
k is a scalar and epsilon is a matrix with all elements equal to Epsilon, and you want to determine the maximum value of k such that k*x <= epsilon holds elementwise ?
In this case, the optimum k_opt is given by
k_opt = epsilon/max(x(:))
Best wishes
Torsten.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNonlinear Optimization についてさらに検索

質問済み:

2016 年 8 月 12 日

編集済み:

2016 年 8 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by