フィルターのクリア

Why sometimes we place an empty brackets inside function inputs?

6 ビュー (過去 30 日間)
Muhamed Sewidan
Muhamed Sewidan 2020 年 2 月 15 日
コメント済み: Muhamed Sewidan 2020 年 2 月 15 日
I don't know the purpose or the mean of these empty square brakets inside many functions, for instance:
min( a, [ ],2)
imshow(a, [ ])

採用された回答

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2020 年 2 月 15 日
means that the second value the function receives is empty, in both cases
if you give a value to that second parameter to "min" the function will convert the largest values of "a" into the value you assign to that parameter
You can check the official documentation here:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by