The using of "sum" in a script
Show older comments
Made a small script in which we pick 2 random numeric elements from the "box" (array with "0"s and "1"s). I want to make further steps depending on the sum of these elements, however Matlab doesn't execute the script with the following mistake (see the screenshot). Script proceeds with ">" and "<", but not "="

Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!