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일

0 개 추천

At some earlier point, you assigned something to a variable named min

카테고리

도움말 센터File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

답변:

2017년 12월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by