フィルターのクリア

Hi, can anyone kindly help me to answer this..? thank you.

2 ビュー (過去 30 日間)
Salah Abdou
Salah Abdou 2020 年 12 月 2 日
コメント済み: Salah Abdou 2020 年 12 月 6 日
how to find this..?
d=arg max min(pk[1], pk2[2])
  2 件のコメント
KSSV
KSSV 2020 年 12 月 2 日
Can you elaborate more on your question?
Salah Abdou
Salah Abdou 2020 年 12 月 3 日
i want to find argument max main (pk[1], pk2[2]) where pk[1]=5l/5*3 and pk2[2]=6/4*3
and put it in d where d=arg max min(pk[1], pk2[2]) so how to write it in matlab. Thanks

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

回答 (2 件)

Utkarsh Belwal
Utkarsh Belwal 2020 年 12 月 3 日
Hi,
If you are trying to get the index of the maximum element along with the maximum value then refer to the below statement:
[M,I] = max([pk(1), pk2(2)]);
For more infomration refer to the documentation link: https://www.mathworks.com/help/matlab/ref/max.html
  1 件のコメント
Salah Abdou
Salah Abdou 2020 年 12 月 6 日
i want to find the minimum value between to value than maximize the minimum value. i m new useing matlab so that i want to know how to find that. Thanks alot for your help

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


Walter Roberson
Walter Roberson 2020 年 12 月 6 日
l = linspace(-5,5); %or whatever
pk = 5*l/5*3;
pk2 = 6*4/3;
[~, d] = max(min(pk, pk2));
d is now the index into l such that the min() of those two values is maximized.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by