unable to find the minimum element

11 ビュー (過去 30 日間)
PRIYANKA MATHIKSHARA M 16BLC1047
PRIYANKA MATHIKSHARA M 16BLC1047 2017 年 12 月 22 日
回答済み: Walter Roberson 2017 年 12 月 22 日
Hi, I'm trying to find the minimum element of the array B
>> B
B =
0
15.4119
36.3073
37.6769
my command is
val = min(B);
Unfortunately, i'm getting the following error
Subscript indices must either be real positive integers or logicals.
Error in faceClassifier (line 23)
val = min(B);
what should be the command to find the most minimum element of this column array... ?!

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 12 月 22 日
At some earlier point, you assigned something to a variable named min

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by