フィルターのクリア

problem with logical number : how minimize calculate

1 回表示 (過去 30 日間)
Luca Re
Luca Re 2023 年 7 月 21 日
回答済み: Voss 2023 年 7 月 21 日
hi,
i hope you understand my problem with pics
Input: a, x

採用された回答

Voss
Voss 2023 年 7 月 21 日
a = [0 3 10 0 3 8];
x = 5;
solution = a > 0 & a < x
solution = 1×6 logical array
0 1 0 0 1 0

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by