How to represent the function "argmin" in matlab?

154 ビュー (過去 30 日間)
Dhines
Dhines 2013 年 2 月 23 日
編集済み: Stephen23 2017 年 10 月 27 日
This function does not present in R2009b package. Is any special way to represent this function in this package.? .
  5 件のコメント
Sean de Wolski
Sean de Wolski 2013 年 2 月 25 日
編集済み: Sean de Wolski 2013 年 2 月 25 日
@Walter, this reflects a recent change in the documentation policy for some of our products. Try accessing the above incognito or inprivate browsing mode.
Shashank Prasanna
Shashank Prasanna 2013 年 2 月 25 日
The documentation is not hidden, but the product description is not.
But anyone, new or otherwise, with a MATLAB question should not be expected to know of the existence of this product or any of the 90 other products MathWorks makes.
This miss-classification is genuine and other forum contributors to help clean up.

サインインしてコメントする。

回答 (2 件)

Shashank Prasanna
Shashank Prasanna 2013 年 2 月 23 日
Can you elaborate? argmin means 'argument of the minimum' of a function. Which means you want to perform an optimization.
Check out the following link for information about optimization in base matlab:
  7 件のコメント
Mary Nahill
Mary Nahill 2017 年 10 月 27 日
To return k, the index of the minimum value of V (also called the argmin of V), do this: k = find(V==min(V))
Stephen23
Stephen23 2017 年 10 月 27 日
編集済み: Stephen23 2017 年 10 月 27 日
@Mary Nahill: use the second output of min or max.

サインインしてコメントする。


Dhines
Dhines 2013 年 2 月 23 日
in my project am having ranking criteria is c(i)=w(i). "i represents 1 to 50". so 'c' contains 50 elements. and now in my algorithm says these 50 elements further to reduce using ranking procedure and eliminate the smallest rank value. for these elimination process in my algorithm given a formula f=argmin(c).here how to writhe these function in matlab. when i try to write these function in matlab it shows the error.
>> f=argmin(C) ??? Undefined function or method 'argmin' for input arguments of type 'double'.
  1 件のコメント
Shashank Prasanna
Shashank Prasanna 2013 年 2 月 23 日
Please comment on the above answer instead of creating a new answer, this way it becomes easier to track correct answers to questions.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by