finding divisibility in every number from 1 to 25
조회 수: 7 (최근 30일)
이전 댓글 표시
hello,
i am trying to get a function that can find the divisiblity of 1 to 25 to 3 and 5
1 is NOT divisible by 3 or 5
2 is NOT divisible by 3 or 5
...
24 is divisible by 3
25 is divisible by 5
i havnt got any function done becuase i am bad at matlab, but i have an idea of using function and using loop to loop the divisibility of each number as they keep adding one from the last one
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!