Clear Filters
Clear Filters

Generate all the prime numbers that are less than or equal to 100 using loop

21 views (last 30 days)
Generate all the prime numbers that are less than or equal to 100 using loop ,make it simple and understandable as i am a beginner
  1 Comment
Rik
Rik on 25 May 2024 at 5:31

You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).

What did you try yourself?

Sign in to comment.

Answers (1)

Animesh
Animesh on 24 May 2024 at 17:43
The following MATLAB answer might help:

Categories

Find more on Loops and Conditional Statements 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!