i want to write a matlab function for the prime numbers without using the built in functions like isprime, so that i can enter a range of numbers and get the result that which of these are prime numbers, please help
조회 수: 1 (최근 30일)
이전 댓글 표시
please help me with writing a function for the output of prime numbers
댓글 수: 2
the cyclist
2015년 11월 30일
I assume that the reason you do not want to use the built-in function is that this is schoolwork.
Getting help with schoolwork here is fine, but please show some effort. What have you tried so far? Post your own code, and specific questions, and maybe someone will give you some hints.
답변 (1개)
Dave Behera
2015년 12월 3일
편집: Dave Behera
2015년 12월 3일
I encourage you to try to write the code yourself. If you face any issues while running it, try to debug it yourself. If you are stuck, then post a message with details. This is a good way to learn.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!