How to simplify that?
Show older comments
How to simplify
while or (mod(i,2) == 0, mod(i,3) == 0, mod(i,5) == 0, mod(i,7) == 0, mod(i,11) == 0)
Its like (mod(i, 2 or 3 or 5 or 7 or 11 )) == 0
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!