problem with logical number : how minimize calculate

 Accepted Answer

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

More Answers (0)

Categories

Find more on Physics in Help Center and File Exchange

Asked:

on 21 Jul 2023

Answered:

on 21 Jul 2023

Community Treasure Hunt

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

Start Hunting!